Other Parts Discussed in Thread: Z-STACK, CC-DEBUGGER
Hello TI team,
I have bought your CC2530 SoC included in Core2530 + Zb502 board from Waveshare. They also included Coordinator, EndDevice & Router.bin firmware files which I can upload using preloaded bootloader. All these files seem to work well, but I wanted to upgrade to ZStack 3.0 (provided firmware files are using older ZStack).
I installed ZStack 3.0 from your site and tried to compile project in C:\Texas Instruments\Z-Stack 3.0.2\Projects\zstack\ZNP\CC253x and successfully uploaded it to my Core2530+ZB502 using SerialBootTool via USB. Unfortunately this firmware does not work. I included some HAL_TURN_ON_LEDx/HAL_TURN_OFF_LEDx calls and discovered that MAC_Init() call from ZMacInit() function never ends.
It may be that it is because it is first LCALL being called or there is inifinite loop in this function (I don't have source code of it).
Modifications that I made:
- CFG1 is set to UART w/o reading the setting from P2_0 port (because this port is connected to KEY2 button on my board)
Instead of:
znpCfg1= ZNP_CFG1_SPI; znpCfg0 = ZNP_CFG0_32K_OSC; // Tri-state the 2 CFG inputs after being read (see hal_board_cfg_xxx.h for CFG0.) P1INP |= BV(2); P2INP |= BV(0); P1_0 = 1;
I have:
znpCfg1 = ZNP_CFG1_UART; znpCfg0 = ZNP_CFG0_32K_OSC; // Tri-state the 2 CFG inputs after being read (see hal_board_cfg_xxx.h for CFG0.) //P1INP |= BV(2); //P2INP |= BV(0); P1_0 = 1;
Is there anything else that I need to adjust for this specific board to work?