TI E2E Community
Low Power RF & Wireless Connectivity
Low Power RF ZigBee® Software & IEEE 802.15.4 Forum
Serial Bootloader in ZStack 2.5.1
Dear colleagues! I have downloaded latest ZStack 2.5.1 and have found out that the Serial Bootloader application for CC2530 is not able to download images. The application had no any reaction on serial port activity with SBDemo.exe. Under debugger I've seen that interruptions remain disabled globally. In earlier ZStack 2.5.0 there is a macro HAL_ENABLE_INTERRUPT() close to the entry of function sblExec() (file sb_main.c). In ZStack 2.5.1 this macro is disappeared. Would you, please, explain me reason(s) of this disappearence?
P.S. After insertion HAL_ENABLE_INTERRUPT() everything's OK.
Best regards. Nikolay A. Neudobnov. Technical director of "Systems, modules and components LTD". Russia. Moscow
Great catch, Nikolay - and good attempt to work around it! But your workaround is not good, note the warning that you must be getting:
Linking Warning[w52]: More than one definition for the byte at address 0x13 in common segment INTVEC. It is defined in module "sb_main" as well as in module "interrupt_stubs" Total number of errors: 0 Total number of warnings: 1
The boot loader was re-worked a little so that it would not intercept any interrupts besides the reset interrupt. Thus, it must work only by polling the UART registers and not depending on the UART ISR's. The installer is missing the attached file in the following two locations:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.