Search Results
Search results 1-10 of 10.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi Alex, thanks for reply. please take in account this thread: [SOLVED] SWO during Debugging Microcontroller Renesas RA6M5 (R7FA6M5BH) in Renesas demoboard doesn't work using Jlink Ultra+ and instead works with J-Link OB-S124 embedded in demoboard? Using JLINK ULTRA+ in Renesas IDE-Debugger (eclipse based) instead of OZONE, everything works. This is the reason due i think issue could be related to OZONE Let's wait your collegues feedback
-
Hi, thanks for quick reply Your explanation is very clear, and also help us in undertstanding better where OS timer SW are called ("Cortex-M embOS software timers are executed within the PendSV()") Your workaround seems works fine in my tests. I defined a macro like this: // check OS SW timer context #define OS_IS_SW_TIMER_CONTEXT() ((NULL != OS_TIMER_GetCurrent()) ? 1:0) and now our code tests both conditions using (OS_InInterrupt() || OS_IS_SW_TIMER_CONTEXT() ) Let me suggest to add this macro…
-
Hi Alex Any updates from the log posted? do you think i have to create an issue ticket for this? Thanks in advance
-
We are using OS version: V5.18.0.3 We have a function that uses mutex, and it is used inside tasks and in ISR function. In order to avoid OS error, mutex usage is under condition, checking if caller is in task execution or in ISR exection, using API OS_InInterrupt() See example code below C Source Code (17 lines)This solution works fine and as expected from embos documentation for API OS_InInterrupt() in both scenarios BUT, instead, if the same function is used as callback for a timer SW (where …
-
Hi Alex Thanks for reply Attached full logs as you requested
-
Hi Alex. You are right! I used J-Link Configurator to set max SWO speed to 1MHz, and with the same scenario i saw from jlink log that now TPIU_ACPR is set to 99 (so clock prescaler 100, so from 100MHz SWO pin clock is 1MHz) and now it works!! So, my understanding was also corrects: some behaviours are up to JLINK devices and can be changed with settings from IDE, but renesas IDE sets few parameters. Regarding the Ozone thread: We like to debug with it, it is a very powerful tool, so i will wait …
-
Hi Alex, thanks for reply As i said in my post, i cannot perform the same test using segger ozone due another issue (posted) Instead i did my test using renesas e2studio (eclipse based) where i have limited config options for jlink debugger I followed steps provided by renesas : en-support.renesas.com/knowledgeBase/20540919 I can only set core speed, as they explained (see below) The only difference is jlink used: OB or Ultra+, and differences i saw in logs attached in previous post (i'm not abl…
-
I'm using a Renesas demobaord with RA6M5 (R7FA6M5BH) microcontroller and e2studio IDE-Debugger (eclipse based) I configured debugging with jlink over SWD and enabled SWO for printf debug using ITM (SWO) Debugging with an external Jlink Ultra+ (version 7.96H) i didn't see any print on console Instead, using an oboard jlink (J-Link OB-S124 compiled Oct 30 2023) SWO works fine and i see print on console Capturing jlink DLL log in both cases, when SWO is enabled in IDE, i saw a difference in registe…
-
I'm trying to use printf over ITM channel (SWO) with microcontroller Renesas RA6M5 (R7FA6M5BH) I'm using ozone (version 3.34) and my JLINK Ultra+ with JLINK updated to version 7.96H Ozone project is well configured for SWD and SWO (see attached ozone project "R7FA6M5_2Mb.jdebug") When i tried to enable SWO, during debug session (Right click on terminal console, "Capture SWO"), this operation causes debugger disconnection and microcontroller in stuck. After this operation debug is not possible an…