Skip to content
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

how to download the firmware image larger than 1MB #30

Closed
flagyan opened this issue Jun 26, 2024 · 5 comments
Closed

how to download the firmware image larger than 1MB #30

flagyan opened this issue Jun 26, 2024 · 5 comments

Comments

@flagyan
Copy link

flagyan commented Jun 26, 2024

Hi,

Is there a method to download firmware image larger than 1MB? I have built my library in the firmware and got a 1.5MB .img file. Thanks in advance.

@stevehuang82
Copy link
Collaborator

Hi @flagyan,

Firmware image size cannot be larger than 1MB. Does your code include model files? If so, you can put the model file into flash memory.

@flagyan
Copy link
Author

flagyan commented Jun 27, 2024

Hi @stevehuang82,

I have a very big library to implement complex functions and so result in a 1.5M image file. Where is the limitation of 1MB from? Is it from the download function? Then can I use the debugger to flash it directly? Thanks.

@stevehuang82
Copy link
Collaborator

Yes, the limitation is from the download function. I think you can use the debugger to flash it directly. I will confirm that later.

@flagyan
Copy link
Author

flagyan commented Jun 28, 2024

Hi @stevehuang82 ,

I am setting up the debug environment with jlink and get the 'Unspecified error' as #28, do we need any extra setting besides
https://github.com/HimaxWiseEyePlus/Seeed_Grove_Vision_AI_Module_V2/blob/main/swd_debugging/README.md? for example, enable the SWD in the image, I see that in the https://github.com/HimaxWiseEyePlus/Seeed_Grove_Vision_AI_Module_V2/blob/main/EPII_CM55M_APP_S/app/scenario_app/allon_sensor_tflm_freertos/allon_sensor_tflm.c, there is code to enable the swd but it is commented out. Thanks a lot.

@flagyan
Copy link
Author

flagyan commented Jul 1, 2024

Hi @stevehuang82,

I can download the image with a cmsis-dap debugger now. Thanks a lot.

@flagyan flagyan closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants