BitCloud ZLLDemo on custom ATSAMR21E19A board

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to built the ZLLDemo ColorSceneRemote or Light on BitCloud 3.3.0 using a custom board with an ATSAMR21E19A.

All I did was changing "#define BSP_SUPPORT BOARD_SAMR21_CUSTOM" (which disables lcd/led/joystick/buttons/etc.) in configuration.h.

Building and programming works without problems but the demo does not work at all.

When debugging it seems like appState is always APP_INITING as initMacLayerDone gets never called.

There is also no error thrown, init() just gets called forever.

Do I have to change anything else in oder to get BitCloud to work on a custom board?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

On a cusom board (or fake) the function which returns CS_UID just returns 0x0, which forces the device to reboot as this adress is not valid.

Change CS_UID in configuration.h first.