YJ-17095 espruino install #7570
Replies: 1 comment
-
Posted at 2024-05-09 by @fanoush Did you mass erase the device before flashing and/or do you flash whole firmware including softdevice and bootloader (openocd should show several sections flashed)? I'd suggest to first build MDBT42Q without any changes at all, it should work too. Starting from MDBT42Q is good, it does not need anything special so it should work in any nfr52832 device if you build and flash it correctly. Posted at 2024-05-09 by user158106 I am using the below method in openocd
Posted at 2024-05-09 by @fanoush that looks good but does not tell much without the actual output Posted at 2024-05-09 by user158106 the following is the console output
Posted at 2024-05-09 by @fanoush yes, you are not flashing full firmware including softdevice and bootlader, that would show several sections of bootloader is not strictly needed but softdevice definitely is. the hex file is in espruino source tree or there is zip with the hex file downloadable from Nordic (S132 3.1.0) Posted at 2024-05-09 by user158106 There are 3 files created, a .hex file , a .elf file, and a .zip file. Posted at 2024-05-09 by user158106 After your point of me missing to flash the softdevice i tried the below steps and now the device is being detected over bluetooth. I was able to connect to the device over bluetooth, from mobile using the webide on chrome.
The message after "reset run" being the device power cycle. Posted at 2024-05-09 by @fanoush
You are building DFU update package, that is wrong type of build for full flash over SWD. Anyway, without bootloader it will work too. You just cannot update it over bluetooth so for new version you need to flash your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2024-05-09 by user158106
Hi,
I have couple of Holyiot YJ-17095 modules based on nRF52832 for which i want to flash espruino.
I have the espruino files on a Debian 10 VM and have copied the MDBT42Q.py file to MDBT42Q_CUSTOM.py and changed the console to EV_BLUETOOTH. The pin numbers are changed as per the module.
The compile is successful. I copy the firmware to another linux laptop and flash the firmware using a ST-LINK V2 and openocd. i am able to flash the firmware.
After the firmware flash and power reset of the module, the module is not discovered by bluetooth.
Any pointers to where i may be wrong or missing some requied steps?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions