Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

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.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/ra6m4

volt.tech Latest Questions

Anonymous
  • 0
Anonymous
Asked: July 1, 2022In: Microcontroller

Unable to debug Renesas RA6M4 using E2 Lite

  • 0

While trying to debug Renesas RA6M4 MCU using E2 Lite through SWD , but it is showing error Break at address “0x4bda” with no debug information available, or outside of program code. How to solve this issue?

While trying to debug Renesas RA6M4 MCU using E2 Lite through SWD , but it is showing error Break at address “0x4bda” with no debug information available, or outside of program code. How to solve this issue?

Read less
0x4bdae2 litera mcura6m4renesasRenesas MicrocontrollerRenesas RA6M4 MCUswd
  1. Shivali Singh
    Added an answer on July 27, 2022 at 6:15 pm

    Hi, Please check your below pin / connection is ok. 1. SWCLK 2. SWDIO 3. 3.3V 4. GND 5. RESET need pulled up and give small filter capacitor. 6. MD, need this pin as pullup.   Please check this above pins and let me know if you have face any issues. Thanks & Regards Shivali Singh  

    Hi,

    Please check your below pin / connection is ok.

    1. SWCLK

    2. SWDIO

    3. 3.3V

    4. GND

    5. RESET need pulled up and give small filter capacitor.

    6. MD, need this pin as pullup.

     

    Please check this above pins and let me know if you have face any issues.

    Thanks & Regards

    Shivali Singh

     

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
techfreak
  • 0
techfreak
Asked: June 24, 2022In: Microcontroller

Debugging Renesas RA6M4 using E2 Lite

  • 0

I am trying to debug Renesas RA6M4 MCU using E2 Lite through SWD. But it is showing error Break at address “0x4bda” with no debug information available, or outside of program code. What is the solution to this problem?

I am trying to debug Renesas RA6M4 MCU using E2 Lite through SWD. But it is showing error Break at address “0x4bda” with no debug information available, or outside of program code.

What is the solution to this problem?

Read less
e2 litemcura6m4swd
  1. pallavi sharma
    Added an answer on July 11, 2022 at 5:36 pm

    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 less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
dev krishnan
  • 0
dev krishnan
Asked: April 21, 2022In: Microcontroller

Renesas RA6M4 sub clock not working – bug fix.

  • 0

There is an issue in the startup code for the Renesas RA6M4. The sub clock was configured as populated on the EK-RA6M4, but it would not work. When I stepped through the startup code, I found out why: in bsp_clocks.c: ...Read more

There is an issue in the startup code for the Renesas RA6M4. The sub clock was configured as populated on the EK-RA6M4, but it would not work. When I stepped through the startup code, I found out why: in bsp_clocks.c: #if BSP_CLOCK_CFG_SUBCLOCK_POPULATED /* If the board has a subclock, set the subclock drive and start the subclock if the subclock is stopped. If the * subclock is running, the subclock drive is assumed to be set appropriately. */ if (R_SYSTEM->SOSCCR) <- This line prevents configuring the SOMCR because SOSCCR is 0 at reset /* Configure the subclock drive if the subclock is not already running. */ R_SYSTEM->SOMCR = ((BSP_CLOCK_CFG_SUBCLOCK_DRIVE << BSP_FEATURE_CGC_SODRV_SHIFT) & BSP_FEATURE_CGC_SODRV_MASK); R_SYSTEM->SOSCCR = 0U; #if (BSP_CLOCKS_SOURCE_CLOCK_SUBCLOCK == BSP_CFG_CLOCK_SOURCE) || (BSP_PRV_HOCO_USE_FLL) /* If the subclock is the system clock source OR if FLL is used, wait for stabilization. */ R_BSP_SoftwareDelay(BSP_CLOCK_CFG_SUBCLOCK_STABILIZATION_MS, BSP_DELAY_UNITS_MILLISECONDS). Once I commented the if statement, the sub clock was configured properly and started oscillating. Perhaps it was intended that at some point the sub clock should be disabled (set to 1) prior to configuring it, but I don’t see where anything disables it unless the option is left as “not populated”.

Read less
EK-RA6M4ra6m4renesasRenesas MicrocontrollerRenesas ra6m4subclock
  1. pallavi sharma
    Added an answer on July 13, 2022 at 11:46 am

    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 less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer

Sidebar

Ask A Question

Stats

  • Questions 394
  • Answers 381
  • Comments 0
  • Best Answers 9
  • Popular
  • Answers
  • Manoj

    Configuration using .dp vision in Infineon XDPL series IC .

    • 5 Answers
  • Linto

    Renesas RL78/G14 ADC interface code

    • 4 Answers
  • ashishgawade
    ashishgawade added an answer Hello, The USB-serial-JTAG port can usually reset/put the chip into… March 30, 2023 at 11:00 am
  • ashishgawade
    ashishgawade added an answer Hi Nidhi, Thanks for reaching out to Volt.Tech Engineering Community.… March 28, 2023 at 10:13 am
  • ashishgawade
    ashishgawade added an answer Hello@vikas, It's always recommended to use a bleeder of 100 ohms. Vout of the part has an offset… March 24, 2023 at 9:55 am
  • vikas Nagpal
    vikas Nagpal added an answer Hello, The SMPS reduces the power loss when VDD is… March 22, 2023 at 10:30 am
  • nidhi singh
    nidhi singh added an answer Hello Ashish, No, sorry, that kind of setup is physically… March 20, 2023 at 10:45 am

Users

test30329068

test30329068

  • 0 Questions
  • 0 Answers
test38329563

test38329563

  • 0 Questions
  • 0 Answers
cetdigit

cetdigit

  • 0 Questions
  • 0 Answers

Explore

  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help

Footer

volt.tech

Volt.Tech

Find your spark

About Us

  • About Us
  • Contact Us
  • Groups

Legal Stuff

  • Privacy Policy
  • Faqs

Follow

© 2022 volt.tech. All Rights Reserved
With Love by volt.tech.