This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51 and nRF24e1 problem, code UNDER 2k

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.

Parents
  • 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?

    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).

Reply
  • 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?

    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).

Children
  • 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!).