Hi all,
after successfully using the serial bootloader with the SBDemo tool and Z-Stack application, I now would like to create simple test applications with the basic sample code for the CC2530 that can be downloaded via the Z-Stack bootloader. But I am facing several problems:
1. I do not know which linker files to use. I chose cc2530-sb.xcl and set the project options such as code model and calling convention to the values I use in the Z-Stack applications. Then I had to add a Z-Stack startup.s51 file to avoid linker errors. I was then able to produce a .sim and with the oad tool a .bin file that could be downloaded via bootloader. But the program never starts. ( I think it does not pass the validity porcedure )
2. What do I have to do with the CRC_SHDW values? I would assume that adding these lines of code into my sample porject c-file would be sufficient:
#pragma location="CRC_SHDW"
const CODE uint16 _crcShdw = 0xFFFF;
#pragma required=_crcShdw
I would be really nice if someone who has yet used the serial bootloader with another application other than a Z-Stack application could share his/her experience with me.
Thanks in advance.
Best regards,
Tobias