1601 views|2 replies

71

Posts

0

Resources
The OP
 

RISC-V IDE MRS Usage Notes (VII): Summary of Common Development Techniques [Copy link]

This post was last edited by Moiiiiilter on 2022-12-28 14:45

RISC-V IDE MRS Usage Notes (VII): Summary of Common Development Techniques

Q1: How to view the contents of peripheral registers during MRS debugging?

A1: Add the corresponding .svd file in the debug configuration interface.

Q2: How does MRS call the math library?

A2: #include the "math.h" header file and add the "m" parameter in the project properties page.

Q3: How to set MRS to not re-download the firmware by default before debugging?

A3: Open the debugging configuration interface and check the option to skip downloading before debugging.

Q4: How to reopen the MRS interface window that was closed by mistake and restore the default interface layout?

A4: Click the button on the main menu to restore the default interface layout.

Q5: What should I do if the MRS toolbar icons are too small on some displays?

A5: Debug toolbar icon scaling via configuration file parameters.

Q6: How to set MRS to display the file memory usage after compilation?

A6: Add the --print-memory-usage parameter in the compilation configuration interface.

Q7: How to add linker script files in MRS?

A7: Add .ld file reference in the project properties page.

Q8: How to add an external folder to a project in MRS?

A8: Add a folder reference in the project properties page.

Q9: What should I do if MRS still prompts that it cannot find the header file in the directory after adding the directory?

A9: Check whether the path exists and whether the path configuration option is checked.

Q10: MRS prompts an error after compiling: "make" not found in PATH, how to solve it?

A10: Re-add the toolchain path in the Global Configuration Properties page.

Q11: How to call IQmath library functions in MRS?

A11: Add the "IQmath_RV32.h" header file reference and check the "Use iqmath" option in the project properties page.

Q12: How to set up memory analysis of target files after compilation in MRS?

A12: Before compiling, check the main menu item: "Project->Analysis After Build".

Q13: How to view detailed compilation process information in MRS?

A13: Before compiling, uncheck the main menu item: "Project->Concise Build Output Mode"

Q14: What should I do if the code cannot stop at the preset breakpoint during MRS debugging?

A14: Check whether the default breakpoints are set in the debug configuration, and then check whether the Skip Breakpoints button in the toolbar is selected.

Q15: Can I view the historical versions of each file in MRS?

A15: In the History window at the bottom left of the main page, you can see all the historical versions of the current file. After the file is modified, click the Save button to create a new version. You can also configure the historical version related settings in the global properties page.

This post is from MCU

Latest reply

Good, very practical!   Details Published on 2023-1-22 00:34
 

7422

Posts

2

Resources
2
 

I learned something, thanks for sharing!

This post is from MCU
 
Personal signature

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

 

111

Posts

0

Resources
3
 

Good, very practical!

This post is from MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
Homemade STEVAL-IPM05F 3Sh board: FOC motor control 400V/8A non-sensing/sensing Hall/sensing encoder and other reference programs...

This post was last edited by music_586 on 2019-4-4 19:06 This content was originally created by EEWORLD forum user musi ...

C language uses binary tree to parse polynomials and evaluate

It mainly realizes the analysis of polynomial data calculation. If there is a need to make a simple calculator based on ...

Zhouyi Compass Simulation Experiment 2——Environment and Routine Analysis

Zhouyi Compass Simulation Experiment 2——Environment and Routine Analysis In simulation experiment 1 (https://bbs.eewor ...

【Development and application based on NUCLEO-F746ZG motor】13. Parameter configuration - USART3 configuration

The function of this serial port on the development board is to communicate with ST-LINK, and then connect ST_LINK2 to t ...

[EEWorld invites you to play disassembly] PISEN fast charging power bank 10500mAh 22.5W

Quote: Thank you EEWorld for inviting you to the disassembly (fourth issue): popular power bank disassembly event. As w ...

Please tell me why this machine often burns the starting resistor at the customer's place

Please tell me why the resistor burned out and how to fix it? 627875627874627873

[Flower carving hands-on] Interesting and fun music visualization series of small projects (26) - LED hypercube

This post was last edited by eagler8 on 2022-10-5 08:59 I had the urge to do a series of topics on sound visualization. ...

Is it possible to perform socket communication without IP and port number?

When using socket communication, whether it is internal communication within the local machine or communication betwee ...

Development Background and Advantages of SiC Power Devices

SiC power components have higher withstand voltage, lower on-resistance, can operate at higher speeds, and can operate a ...

【Digi-Key Follow me Issue 2】Task Collection

I got the board quite late, and after completing the task, I got busy with a lot of other things so I didn't have time t ...

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