-
Notifications
You must be signed in to change notification settings - Fork 27
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
Question: Trying to get things to work with the Grand Central M4 board #27
Comments
Ok, so I was able to successfully create the array with some c# code (pasted it below if anyone wants it) and it flashes just perfect! But now I am very much stuck at next step. How would I combine the bootloader file with the actual firmware? This just flashes the bootloader, but I would like to also include my firmware. Just a simple blink sketch for now. :-)
|
@cwbrandsdal Great Idea! |
@deladriere Sure that makes sense. I did solve it by combining the firmware in the esp32 code. It turned out to be very simple, and looks like it's a good solution. I have the bootloader as a separate .h file. First I write the bootloader from the .h file, and then I write the firmware from the file upload on the esp32 (on the samd51 I use the program should start at 0x00004000). Here is just an example:
|
This is not a issue to be honest, but I don't know where else to ask. I would like to use this library to flash a Grand Central board, but the only example I can find is for the Metro M4 with the bootlader as a header file. My question is how would I go about to make a similar header file, but for the Grand Central M4 Bootloader? Stuck between a rock and a hard place here, hehe.
The file in question: https://github.com/adafruit/Adafruit_DAP/blob/master/examples/samd51/samx5_flash_from_header/samd51_uf2.h
Christopher Brandsdal
Adafruit fandboy
The text was updated successfully, but these errors were encountered: