Good morning,
I'm quite unable to properly understand the SWD initialization,
The board I use includes the following MCU : RA4M1 : R7FA4M1AB3CFM
Could you please highlight about both points:
Why (and is it normal) that the E2 Lite tool grounds the line (even with High-Z setting in the software settings) ?
What is the init sequence, should i see the MCU pulling low SWDIO or SWCLK while flasher holds Reset line low ?
I'd like to understand and have little more informations about a proper SWD sequence (at least the init phase).
Thanks & Regards,
Jean-François
Hello,
Does the SWD connection between E2 Lite and RA works fine or do you have any issues when connecting ?
The strapwire prototype has issue, it hangs with the states above (res low, swdio high, swclk high), for 500ms until the E2 Lite declares non response.
Is the SWD init sequence the 1bit type, is it possible to have more insights on the initialization sequence.
Thanks & regardsJean-François
Please provide for review your schmematics of connections between E2 Lite and RA board. I have shared the relevant document guides on the previous thread you posted:
community.renesas.com/.../cannot-flash-firmware-on-ra4-swd
In the strapwire The Vcl is on a 4.7uF /Reset is pulled up MD is pulled up internally (booting standalone) Swdio/Clk on the SWD interface
So these signals are fixed per RA4M1 manual indeed.
I'm just trying understand from the states defined in first post above, do we have enough informations to determine if the MCU has failed which is possible due to previously wrong wiring.
I.e. these two highlights :
Are you able to connect with Renesas Flash Programmer ?
No it is as mentionned in original post above that is :Next, when i initiate "Connect", we have:
Regards
To make sure if the device has been electrically damaged or the SWD interface is still not usable, I recommend to implement the SCI connections to boot the device in boot mode and try to erase it. If this fails then it is likely that the device has been electrically damaged.
Please refer to chapter 2.4.2 or 2.4.4
www.renesas.com/.../e2-emulator-e2-emulator-lite-additional-document-users-manual-notes-connection-ra-devices
Yes indeed, That was checked, i have 2 Renesas E2 Lite, both are "Pass" with the SCI tool so this is all ok.Measurement show same behavior with both tools.
I am not talking about the Self Check tool. I am talking about booting the device in boot mode via SCI (SCI boot mode).
Ok, it is not implemented in HW.
Could we get to the 2 points i highlighted initially ? That would just let me briefly get to understand the issue.
Other points i'll handle them, it's just these 2 questions i had at this moment.