Quick check of #BL602 Boot2 Disassembly ... To be sure that it matches the Boot2 Bootloader that we have been flashing to BL602. Great exercise for learning #RISCV Assembly! 👍
https://github.com/lupyuen/bl_iot_sdk/releases/download/v8.0.2/bl602_boot2.S
When #BL602 boots, it runs the Boot2 Bootloader Firmware at 0x2300 0000 ... Which loads the Application Firmware into (yikes!) 0x2300 0000 ... Let's investigate how the Bootloader makes this self-overlay possible
#BL602 Linker Map shows Boot2 Code is always loaded at 0x2300 0300 ... Let's find out what's inside
https://github.com/lupyuen/bl_iot_sdk/releases/download/v8.0.1/sdk_app_blinky.map
My hunch: #BL602 Boot2 and ESP32 Secure Boot V2 have similar bootloader features 🤔
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/secure-boot-v2.html
#BL602 "Boot2" ... The Boot Code that starts every BL602 Firmware ... Shall I unravel and document the code? 🤔
https://github.com/bouffalolab/bl_iot_sdk/tree/master/customer_app/bl602_boot2/bl602_boot2
Ah Heng Chicken Curry Bee Hoon Mee (Michelin Recommended)
Here's why our #BL602 Simulator runs a stream of Simulation Events
https://lupyuen.github.io/articles/wasm?20#why-simulate-a-stream-of-events
Will our #BL602 Simulator run Actual BL602 Firmware in #WebAssembly? It might be possible!
https://lupyuen.github.io/articles/wasm?19#can-we-simulate-any-bl602-firmware
Here's how we added #BL602 Simulator to #Blockly ... To simulate our drag-n-drop programs
https://lupyuen.github.io/articles/wasm?18#simulate-blockly-programs
Drag-n-drop #Blockly (Scratch) programs ... And run them with #BL602 Simulator! Try it here
https://lupyuen.github.io/articles/wasm?16#add-simulator-to-blockly
Here's how we flip the Simulated LED on #BL602 Simulator
https://lupyuen.github.io/articles/wasm?11#flip-the-simulated-led
How uLisp #WebAssembly passes Simulation Events to the #BL602 Simulator
https://lupyuen.github.io/articles/wasm?10#get-the-simulation-events
How #uLisp adds a #BL602 Simulation Event
https://lupyuen.github.io/articles/wasm?8#add-a-simulation-event
#uLisp sends a stream of Simulation Events to our #BL602 Simulator ... Here's how it works
https://lupyuen.github.io/articles/wasm?5#simulate-bl602-hardware
IoT Techie and Educator / Apache NuttX PMC