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

Support for Renesas RA2A1 (MF3 Flash architecture) #1243

Open
mtk11 opened this issue Sep 19, 2022 · 9 comments · Fixed by #1244 · May be fixed by #1723
Open

Support for Renesas RA2A1 (MF3 Flash architecture) #1243

mtk11 opened this issue Sep 19, 2022 · 9 comments · Fixed by #1244 · May be fixed by #1723
Labels
Enhancement General project improvement New Target New debug target
Milestone

Comments

@mtk11
Copy link

mtk11 commented Sep 19, 2022

Trying to use it with Renesas RA2A1 and getting the following:

WARNING: "Debug component" !match expected "Generic IP component"
Found renesas chip (R7FA2A1AB3CNF   ) with Flash Root Table and unsupported Part ID 0x1b0 please report it
0x80000000: 0x00000004000a3004 Non ARM component ignored

Support for this series ?

@dragonmux
Copy link
Member

There is experimental support for Renesas parts thanks to @perigoso's #1133, we'll take their lead on how to deal with that. v1.9 is currently in a feature freeze pending release of v1.9rc1, so this will get targeted to v1.10.

@dragonmux dragonmux added the New Target New debug target label Sep 19, 2022
@dragonmux dragonmux added this to the v1.10 milestone Sep 19, 2022
@perigoso
Copy link
Contributor

that should mean the part actually got probed, it just used the brute force method as it doesn't have that id in the "database", does it not show up as an attachable target?

@perigoso
Copy link
Contributor

I don't know what WARNING: "Debug component" !match expected "Generic IP component" is about, I don't remember if it is expected, but the 0x80000000: 0x00000004000a3004 Non ARM component ignored is about the secure access on those parts and can safely be ignored provided you don't expect to debug a part with debug access locked

@mtk11
Copy link
Author

mtk11 commented Sep 19, 2022

does it not show up as an attachable target?

(gdb) mon s
Available Targets:
No. Att Driver
 1      R7FA2A1AB3CNF    M23
(gdb) att 1
Attaching to program: /tmp/ra2a1-main/blinky/main.hex, Remote target
0xeffffffe in ?? ()
(gdb) load main.hex
Loading section .sec1, size 0xc0 lma 0x0
Load failed

@perigoso
Copy link
Contributor

ah, that means that target is probably suffering the same as #1222, you won't be able to flash the target, but you should be able to attach and debug

In the meantime, we can add the ID and close this in favor of that issue

@mtk11 mtk11 closed this as completed Sep 19, 2022
@perigoso
Copy link
Contributor

I meant to have this closed with the addition of the ID, but that is fine, I'll PR that in a sec anyway

@perigoso
Copy link
Contributor

perigoso commented Apr 11, 2023

As per my comment on #1222, I originally did a misdiagnosis of the issue, this part uses the MF3 Flash architecture, which I did not originally implement, only the RV40, so this issue should be reopened or a new one of the likes of "Renesas MF3 Flash support" should be created @dragonmux

For reference on which part uses what flash type, see this comment

@dragonmux dragonmux reopened this Apr 11, 2023
@dragonmux
Copy link
Member

We have re-opened the issue and will modify the tittle accordingly.

@dragonmux dragonmux changed the title Support for Renesas RA2A1 ? Support for Renesas RA2A1 (MF3 Flash architecture) Apr 11, 2023
@perigoso
Copy link
Contributor

@dragonmux, not a bug, enhancement i suppose?

@dragonmux dragonmux added Enhancement General project improvement New Target New debug target and removed Bug Confirmed bug labels Apr 11, 2023
@dragonmux dragonmux modified the milestones: v1.9 release, v2.0 release Dec 31, 2023
@cfr-mir cfr-mir linked a pull request Jan 11, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement General project improvement New Target New debug target
Projects
None yet
3 participants