1235 views|3 replies

71

Posts

0

Resources
The OP
 

RSIC-V IDE MRS User Notes (V): Code Erasure Problem Before Debugging [Copy link]

[Code Page Erase] When debugging the IAP+APP program, generally, you don't need to debug the IAP program after it is fixed. You only need to focus on the APP program itself. However, when debugging the APP directly, the full erase command will be used by default, causing the IAP program to be erased. At this time, we only need to add the command line parameters shown in the figure below to the APP program debugging configuration page, and then we can modify only the APP part of the code each time when the IAP program has been downloaded. OTA upgrades can also use a similar method, that is, combine non-APP programs into a bin file and download it. Other operations are the same as the IAP+APP download method.

[Do not re-download code before debugging] Sometimes when we are looking for a problem, we find that it can only be reproduced by re-powering on. However, every time we re-power on to reproduce the problem, the code has not changed, and debugging will still waste time downloading the program. At this time, you can open the debugging configuration page and check the option of not erasing and not downloading during debugging to solve this problem.

This post is from MCU

Latest reply

Check the option of debugging without erasing or downloading. This seems to be something you need to remember.   Details Published on 2022-10-20 08:56
 

7452

Posts

2

Resources
2
 

When downloading, it seems that you can choose to burn only the required section. I don’t know if risc-v can do this.

This post is from MCU
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 

6841

Posts

11

Resources
3
 

Check if there is a problem with the download cable and try another one.

This post is from MCU
 
 
 

6593

Posts

0

Resources
4
 

Check the option of debugging without erasing or downloading. This seems to be something you need to remember.

This post is from MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list