|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Private diagnostic surface for the EK-RA8D2 audio and USB BSP. More...
#include <stdint.h>Go to the source code of this file.
Variables | |
| volatile uint32_t | g_usbhs_probe |
| Temporary bisect probe for USBHS bring-up HardFault. | |
Private diagnostic surface for the EK-RA8D2 audio and USB BSP.
Declares the USB-HS bring-up trail shared by the production translation unit, the host coverage test, and a J-Link bench session. Keeping the declaration in this module-private header gives the externally linked diagnostic object one authoritative type without adding it to the public board API.
Definition in file ra8_board_ek_ra8d2_audio_usb_internal.h.
|
extern |
Temporary bisect probe for USBHS bring-up HardFault.
USB-HS bring-up step visible to host tests and J-Link.
Stepped through the sub-calls of internal_usbhs_clock_and_mstp + ra8_usb_device_init so a JLink session can read which sub-step is in flight when the worker thread takes the IACCVIOL/PRECISERR fault. Values: 1 = pre cgc_usbhs_pll_enable, 2 = pre mstp_init, 3 = pre mstp_enable(usbhs), 4 = pre ra8_usb_device_init(hs), 5 = post ra8_usb_device_init returned. Remove once the offending sub-call is identified.
The board implementation advances this value around clock, module-stop, and device-initialization operations. It is volatile because a debugger reads it asynchronously and because every intermediate step must remain observable.
Definition at line 294 of file ra8_board_ek_ra8d2_audio_usb.c.
Referenced by internal_usbhs_clock_and_mstp(), and ra8_board_usbhs_device_init().