OpenNuvoton / M2351BSP

M2351 BSP
15 stars 9 forks source link

Flashing the Patched Executable Binary #6

Closed user01-weeve closed 5 years ago

user01-weeve commented 5 years ago

Hello, I have generated a bare metal application binary(.axf and .bin) using Keil uVision IDE. Then I have modified the binary, the .bin file, (some part in application code segment, not the CRT or reset vectors). I want to flash this patched .bin file on M2351 device. I found the .axf file is looked and flashed by IDE/tool but not .bin file. As per my understanding .axf is converted into flat binary and then flashed by flashing tool. Could you please let me know command/step/tool to flash the *.bin file directly? Thanks

wschang0 commented 5 years ago

NuMicro ICP Programming Tool should be what you are looking for. You could download it from here: https://m2351.nuvoton.com/resource/

Regards, WS

From: user01-weeve [mailto:notifications@github.com] Sent: Friday, April 12, 2019 11:03 PM To: OpenNuvoton/M2351BSP Cc: Subscribed Subject: [OpenNuvoton/M2351BSP] Flashing the Patched Executable Binary (#6)

Hello, I have generated a bare metal application binary(.axf and .bin) using Keil uVision IDE. Then I have modified the binary, the .bin file, (some part in application code segment, not the CRT or reset vectors). I want to flash this patched .bin file on M2351 device. I found the .axf file is looked and flashed by IDE/tool but not .bin file. As per my understanding .axf is converted into flat binary and then flashed by flashing tool. Could you please let me know command/step/tool to flash the *.bin file directly? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_OpenNuvoton_M2351BSP_issues_6&d=DwMCaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=aH6l7Kw2v9MTu3F0oJ3Ab6AQ_svbvBfhszKwCjHTnIo&m=rJrI9CG4xVA5V60Ho1XVefA_ZztFrG2dRjqFQYAaUPo&s=K6TIkFNQPkTpIJKbRzN8kDiRDijPfPr-r29lqDgA5xs&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARm7j1e3BgX19fg9nb8QRrCUK6JHHdcIks5vgKALgaJpZM4csU4g&d=DwMCaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=aH6l7Kw2v9MTu3F0oJ3Ab6AQ_svbvBfhszKwCjHTnIo&m=rJrI9CG4xVA5V60Ho1XVefA_ZztFrG2dRjqFQYAaUPo&s=JTM2-ajTDLCvoqodG9-jvaULHk62-ft-kkA8XDrozRg&e=.

=========================================================================================== The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.