Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.
Volt.Tech
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Renesas RA6M3 debugger not working
On the options for target, utilities tab, select Use External tool for Flash Programming (leave blank, command & argument)
On the options for target, utilities tab, select
Use External tool for Flash Programming (leave blank, command & argument)
See lessRenesas RA6M4 sub clock not working – bug fix.
You could disable the sub-oscillator in the user code :- /* Call pre clock initialization hook. */ R_BSP_WarmStart(BSP_WARM_START_RESET); is called before /* Configure system clocks. */ bsp_clock_init(); in the SystemInit() function, in the file system.c. The function R_BSP_WarmStart() is created inRead more
You could disable the sub-oscillator in the user code :-
/* Call pre clock initialization hook. */
R_BSP_WarmStart(BSP_WARM_START_RESET);
is called before
/* Configure system clocks. */
bsp_clock_init();
in the SystemInit() function, in the file system.c.
The function R_BSP_WarmStart() is created in the file src\hal_entry.c, so you could add the code to stop the sub oscillator there :-
void R_BSP_WarmStart(bsp_warm_start_event_t event)
{
if (BSP_WARM_START_RESET == event)
{
uint16_t prcr = R_SYSTEM->PRCR;
R_SYSTEM->PRCR = 0xA501;
R_SYSTEM->SOSCCR = 1; //disable the SOSC
R_SYSTEM->PRCR = (uint16_t)(0xA500 | (prcr & 0x00FF));
}
}
You might not want to stop the sub-oscillator if the device has been running on the VBATT power supply with the RTC running, and VCC is re-applied, as stopping the sub oscillator would also stop the RTC, so you might only want to stop the sub oscillator on a cold boot of the device.
The SOMCR register should only be modified if the sub oscillator is not running (i.e. the SOSTP bit in the SOSCR register is 1), so just commenting out the check:-
if (R_SYSTEM->SOSCCR)
is not reccomended, the sub oscillator should first be stopped, before modifying the SOMCR register.
See lessSetting Ofast optimization level for RA Series.
Could you try adding it to Other optimization flags? When compiling, you see both -o2 …. -ofast, I think the later options will overwrite the earlier ones.(hopefully). arm-none-eabi-gcc -mcpu=cortex-m33 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -O2 -fmessage-length=0 -fsigned-char -ffunctioRead more
Could you try adding it to Other optimization flags? When compiling, you see both -o2 …. -ofast, I think the later options will overwrite the earlier ones.(hopefully).
arm-none-eabi-gcc -mcpu=cortex-m33 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -O2 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Ofast -Wunused -Wuninitialized …
See lessCheck for HW reset, SW reset, WDG reset
Please refer to RESF and the redundant RESFR:
Please refer to RESF and the redundant RESFR:
Accessing large array from program memory
Code-flash would have to be addressed as "far" data memory, I might recommend using the IAR compiler as it handles the "huge" memory qualifier that allows "far" array accesses across 64KB boundaries. Or you could use CC-RL with a simple assembly routine to handle the "huge" memory references.
Code-flash would have to be addressed as “far” data memory, I might recommend using the IAR compiler as it handles the “huge” memory qualifier that allows “far” array accesses across 64KB boundaries. Or you could use CC-RL with a simple assembly routine to handle the “huge” memory references.
See lessSerial number/Unique ID in Renesas(RZ/A2M) chip
Hi techfreak, There are no serial numbers in RZ/A2M.
Hi techfreak,
There are no serial numbers in RZ/A2M.
See lessDebugging Renesas RA6M4 using E2 Lite
Check your custom board MD Pin. If MD Pin se low with pull down that means micro controller in bootloader mode (SCI/USB boot). So if you want to debug, this MD Pin should be high (INTERNAL FLASH mode).
Check your custom board MD Pin. If MD Pin se low with pull down that means micro controller in bootloader mode (SCI/USB boot).
So if you want to debug, this MD Pin should be high (INTERNAL FLASH mode).
See lessProgramming in Renesas RA6M1 using E2 emulator lite
Pls check for boot jumper refer below link to download E2 lite manual for connection reference https://www.renesas.com/in/en/document/mat/e2-emulator-e2-emulator-lite-additional-document-users-manual-notes-connection-ra-devices
Pls check for boot jumper
refer below link to download E2 lite manual for connection reference
https://www.renesas.com/in/en/document/mat/e2-emulator-e2-emulator-lite-additional-document-users-manual-notes-connection-ra-devices
See lessRenesas RA2E1 ADC Internal Ref Voltage
Hi dev , refer below link & download user manual hardware for RA2E1 & there is table given on page 1003 for ADC internal reference https://www.renesas.com/us/en/document/man/ra2e1-group-users-manual-hardware Thanks
Hi dev ,
refer below link & download user manual hardware for RA2E1 & there is table given on page 1003 for ADC internal reference
https://www.renesas.com/us/en/document/man/ra2e1-group-users-manual-hardware
Thanks
Using all GPIO’s on ESP32-C3
Hi linto
Hi linto
See less