-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flashing bootloader #22
Comments
It expects to get .bin file, not .hex. |
Well, i tried the hex file first but then converted it to .bin via HxD but this was the result from the bin upload |
Did you erase it after each flash? |
Yes, i just tried it again, connect the ESP32, erased the chip and flashed the bootloader file (hex file converted to bin file). Is the output i showed above correct? Edit: |
Update, I tried to install arduino_nano_33_ble_bootloader-0.7.0_s140_6.1.1.bin When i unplug the ESP32, the port goes away.
Files are downloaded from here https://github.com/adafruit/Adafruit_nRF52_Bootloader/releases/tag/0.7.0 |
It looks like flashing is not doing anything.
|
After some more tests i see different bootloader files get different values than 0x0000000 |
update to latest master (a2d9a3d) and try that hex file again |
I already did (yesterday), but maybe i took the wrong bootloader file. I am not using a mosfet for ground, just connected the ESP32 ground to the nRF ground. Is that okay? |
What does the serial log say? |
From Arduino IDE -> Serial monitor while "flashing" the firmware? |
the same way you got this:
|
You need all? Because i cannot copy everything the Serial monitor outputs so if you need all i need to use a different way to copy the result |
Does this give any information? |
Thank you for your reply. I don't get it working so here are my steps / results: First i turn on the ESP32 with the nRF52840 connected. My connection is:
Now i have a different problem, after half a minute the ESP32 crashes and gives me this error, while i am almost certain that it completed the flash before. It does it now on multiple .hex files, even after reuploading the firmware to the ESP32
|
Update: I got a bit further. After selecting another Arduino bootloader file (pca10056_bootloader-0.3.0_s140_6.1.1.hex), a new USB device got detected (NRF52BOOT). I could now upload an example sketch via Arduino IDE and i got this:
After that, nothing happens (except Mac says the USB device is disconnected).
But the serial monitor doesn't show any data, and the nrf beacon app (for ios) says the beacon is not found. Update: Now it won't work anymore. After 2 times resetting i get the NRF52BOOT but it automatically unmounts after 1 second on my Mac. One time resetting doesn't do anything anymore (can't upload any code) |
I am trying to flash the bootloader on a brand new chip (Ebyte E73 nRF52840).
Checkin if the chip is locked gives me the following result: Ok: the nRF is unlocked
I downloaded a few bootloaders including the SEEED USB bootloader: Seeed_XIAO_nRF52840_Sense_bootloader-0.6.1_s140_7.3.0.hex
I can flash the chip and i see after a few moments the chip is written
Is this the correct result?
I used the SEEED bootloader because i try to flash my own software via Arduino to the nRF52840. I connected a usb cable to the VBUS (5v), GND, D+ and D- (including resistors and capacitor)
Left part on this image:
https://camo.githubusercontent.com/f6eeaf4a553951599a5c2197d05be781ac764dd330e77d7f09aeae72b76785dd/68747470733a2f2f6465767a6f6e652e6e6f7264696373656d692e636f6d2f726573697a65642d696d6167652f5f5f73697a652f373032783437362f5f5f6b65792f737570706f72742d6174746163686d656e74732f62656566356431623737363434633434386461626666333136363866336134372d32643162336461623134623834646561613262313637646539626261363762612f5343482e504e47
When i connect the USB cable, nothing shows up, not in Arduino IDE and not in finder (i'm using mac).
Is my way of doing this correct or did i do something wrong?
The text was updated successfully, but these errors were encountered: