Dear Community,
I have modified the GenericApp program in the Z-stack 2.4.0-1.4.0 example projects directory to do some high-frequency bit-banging on the I/O ports. To do this, I had to write a lot of fast low-level code.
I can download the program onto a CC2530F256 (256k flash memory) using IAR's "Download and Debug" function with no problem. However, when I compile to hex and download using the flash programmer, the resulting file exceeds the chips flash memory size! I have used the same stack/heap sizes and code/data models as the example GenericApp project.
What is the disconnect here? The IAR-downloaded code works perfectly well when I reset the chip and let it run without a serial cable attached, so the code must somehow fit. Any ideas why the hex file can't? Thanks.
SensorGuy