I’m trying to update the firmware on a couple of 4631R that were bought some time ago. The aim here was to see of the application loading I’m struggling with is consistent across hardware. The first step is to try to have consistent hardware.
I first tried the WisToolBox (1.4.7) but it has trouble finding the device, even when I tell it what to look for, and the firmware that it thinks is the latest isn’t
After this, the Arduino load is just “No ping response”
@beegee, could you please point me to the tools and files I should be using.
I’m not even 100% certain that the CPU modules are RUI3 version. The packaging says they are, but I’ve run foul of this before and I’m hoping to avoid needing to solder the headers.
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/n2/d5q87fd15gq73p4_zmg18p0h0000gn/T/nrf_dfu_626u48d2/unpacked_zip/manifest.json'
[23375] Failed to execute script __main__
In the downloaded zip that is linked in the instructions there IS a manifest.json file, along with along with a couple of files from 2022.
Note to future readers (very likely me again 6 months from now):
When Ozone is refusing to load the pre canned Flash Dump file, and complaining about not having a working TDO line, that is the clue that the target config has lost the detail that it should be using SWD rather than JTAG.
Just start the New Project Wizard and set it up again.
The Jlink is part of my attempted migration to a debugger solution too.
There is now a new set of errors all about LoRa configuration.
/Users/markjeffree/Library/Arduino15/packages/rak_rui/hardware/nrf52/4.2.2/cores/nRF5/component/service/nvm/service_nvm.c: In function 'service_nvm_set_default_config_to_nvm':
/Users/markjeffree/Library/Arduino15/packages/rak_rui/hardware/nrf52/4.2.2/cores/nRF5/component/service/nvm/service_nvm.c:175:13: error: 'g_lora_mac_nvm_data' undeclared (first use in this function)
175 | memset(&g_lora_mac_nvm_data,0,sizeof(lora_mac_nvm_data_t));
| ^~~~~~~~~~~~~~~~~~~
/Users/markjeffree/Library/Arduino15/packages/rak_rui/hardware/nrf52/4.2.2/cores/nRF5/component/service/nvm/service_nvm.c:175:13: note: each undeclared identifier is reported only once for each function it appears in
/Users/markjeffree/Library/Arduino15/packages/rak_rui/hardware/nrf52/4.2.2/cores/nRF5/component/service/nvm/service_nvm.c:175:42: error: 'lora_mac_nvm_data_t' undeclared (first use in this function)
175 | memset(&g_lora_mac_nvm_data,0,sizeof(lora_mac_nvm_data_t));
| ^~~~~~~~~~~~~~~~~~~
etc