I am trying out two boards for a wireless app, the Chipcon cc2510, and the Nordic nRF24E1, both have 8051 on board. They are each geared towards one IDE or another, Nordic and Keil, Chipcon and IAR.
Anyways, I am having trouble right now adding ANY lines to my code. I dont get a compiler error, but do get an error when programming the EEPROM (using a dev kit). I do NOT get an error when "emulating" the EEPROM with the supplier dongle. Code=922, data=54. Any ideas? I get and error when programming the onboard EEPROM that there was an error programming. Any thoughts? Thanks.
both have 8051 on board WHICH '51?
get an error when programming.. This process is wildly different from chip to chip.
Erik
Similar to Dallas DS80C320. It programs fine with one less line of code ANYWHERE, but one more line and I get errors programming. Although, the code works mostly even after programming and getting an error... just the timer interrupt doesn't seem to work.
"get an error when programming the EEPROM ... Any thoughts?"
Well the immediate thought is, surely, "What error, exactly, do you get?!"
2K - Hmmm... Evaluation limits...
The error I get is "There was an error programming the EEPROM". Very helpful!
2k limit... hmmm... eval version... hmmm... code says 922, not anywhere NEAR 2k, and I looked through disassembly and it concurs. Maybe something is overwriting the interrupt vector?
I am evaluating two products so I can see which one I want to BUY, Keil or IAR. I am NOT interested in purchasing both and my code at this point should not be causing size limit issues.
"get an error when programming the EEPROM ...
What does that have to do with Keil?
I know of no Keil 'feature' to load code memory with the program.
922 Decimal or 922 Hex? 800 Hex = 2048 Decimal.
Jon
"I know of no Keil 'feature' to load code memory with the program."
Ah - but you don't use the IDE, do you?
uVision does support downloaders - including FlashMagic, and others like the various JTAG thingies available...
However, the actual downloader is a 3rd-party tool - uVision merely provides an interface to it.
Therefore any stupid, useless messages like "There was an error programming the EEPROM" are the fault of the 3rd-party developer.
[rant] Surely, it must have been a software developer who coded that message - don't they know from experience just how useless such a message is?! [/rant]
a) "I know of no Keil 'feature' to load code memory with the program."
b) "However, the actual downloader is a 3rd-party tool - uVision merely provides an interface to it."
I will agree that yours is more explicit.
2k Code size is not the only limit of the evaluation version. The evaluation version also locates the code above 0x0800, to prevent its use on devices with <2k code memory (where the code size limitation would not matter).
Yes, it is some well written third party programmer (sarcasm). You guys would know better if it outputs the size of the code than I, but I assume this is decimal 922 (and looking through dissassembly it looks to be decimal as well). Regardless, it works with code = 914, but anything above does not work. This is a very odd number whether it is hex or decimal. Thanks for the suggestions though, guess I need to try harder to get Nordic on the phone (tech support from chip manuf. these days is aweful!).