Other Parts Discussed in Thread: AM3359
Tool/software: TI-RTOS
Hello,
I am still very new to the AM335x platform and the tools that go with it. At the moment I am trying to get some simple application running by taking one of the TI examples and changing it to what I want it to do, which at the moment not very much more than simply run.
My setup is: CCS 7.2.0.00013 running on Windows 7. I have the AM3359 ICE V2 development board. My project is using the following parts: GNU v4.9.3 (Linaro) compiler / EDMA3 2.12.5 / NDK 2.25.1.11 / SYS/BIOS 6.46.5.55 am335x PDK 1.0.8 / C:/ti/ccsv7/ccs_base
The components are based on the example application "I2C_Example_icev2AM335x_armExampleProject" which I have used as the basis for my own project. The problem occures with both the example and my own project. When loading the .out file via the CCS debugger, I often get the following error in the debug window:
Texas Instruments XDS100v2 USB Debug Probe_0/CortxA8 (Suspended - SW Breakpoint) do_AngelSWI(int, void *) [C:/Users\hoeksh\workspace_v7\HaHo_TestApp1\Debug\HaHo_TestApp1.out] at 0x80011ED0 _kill(int)() at swi.h:78 0x80011ED0 xdc_runtime_Error_policySpin__E(struct xdc_runtime_Error_Block *, unsigned short, unsigned char *, int, unsigned long, int, int) [C:/Users\hoeksh\workspace_v7\HaHo_TestApp1\Debug\HaHo_TestApp1.out] at 0x00000000 xdc_runtime_Error_policySpin__E(struct xdc_runtime_Error_Block *, unsigned short, unsigned char *, int, unsigned long, int, int)() 0x00000000 (next frame is identical to an existing frame)
My procedure for connecting to my target is the following:
1. Launch my target configuration
2. Connect to the Cortex A8 target
3. Run -> Reset -> CPU Reset (HW)
4. Run the GEL script: SYS_CLKOUT2 -> L3_CLK
5. Run the GEL script: AM335x System Initialization -> AM3359_ICE_Initialization
6. Run -> Load -> Load my .out file
At this point I mostely get the error. I have tried this procedure with first resetting the board by unplugging it, resetting it via the push button or not resetting it at all, this makes no noticeable difference.
The Console output from executing the GEL scripts is:
Console output during init of the MPU CortxA8: Output: **** AM3359_ICE Initialization is in progress .......... CortxA8: Output: **** AM335x ALL PLL Config for OPP == OPP100 is in progress ......... CortxA8: Output: Input Clock Read from SYSBOOT[15:14]: 24MHz CortxA8: Output: **** Going to Bypass... CortxA8: Output: **** Bypassed, changing values... CortxA8: Output: **** Locking ARM PLL CortxA8: Output: **** Core Bypassed CortxA8: Output: **** Now locking Core... CortxA8: Output: **** Core locked CortxA8: Output: **** DDR DPLL Bypassed CortxA8: Output: **** DDR DPLL Locked CortxA8: Output: **** PER DPLL Bypassed CortxA8: Output: **** PER DPLL Locked CortxA8: Output: **** DISP PLL Config is in progress .......... CortxA8: Output: **** DISP PLL Config is DONE .......... CortxA8: Output: **** AM335x ALL ADPLL Config for OPP == OPP100 is Done ......... CortxA8: Output: **** AM335x DDR3 EMIF and PHY configuration is in progress... CortxA8: Output: EMIF PRCM is in progress ....... CortxA8: Output: EMIF PRCM Done CortxA8: Output: DDR PHY Configuration in progress CortxA8: Output: Waiting for VTP Ready ....... CortxA8: Output: VTP is Ready! CortxA8: Output: DDR PHY CMD0 Register configuration is in progress ....... CortxA8: Output: DDR PHY CMD1 Register configuration is in progress ....... CortxA8: Output: DDR PHY CMD2 Register configuration is in progress ....... CortxA8: Output: DDR PHY DATA0 Register configuration is in progress ....... CortxA8: Output: DDR PHY DATA1 Register configuration is in progress ....... CortxA8: Output: Setting IO control registers....... CortxA8: Output: EMIF Timing register configuration is in progress ....... CortxA8: Output: EMIF Timing register configuration is done ....... CortxA8: Output: PHY is READY!! CortxA8: Output: DDR PHY Configuration done CortxA8: GEL Output: Turning on EDMA... CortxA8: GEL Output: EDMA is turned on... CortxA8: Output: **** AM3359_ICE Initialization is Done ****************** CortxA8: GEL Output: **** SYS_CLKOUT2 = L3 (From Core PLL) (divided by 2) CortxA8: Output: **** AM3359_ICE Initialization is in progress .......... CortxA8: Output: **** AM335x ALL PLL Config for OPP == OPP100 is in progress ......... CortxA8: Output: Input Clock Read from SYSBOOT[15:14]: 24MHz CortxA8: Output: **** Going to Bypass... CortxA8: Output: **** Bypassed, changing values... CortxA8: Output: **** Locking ARM PLL CortxA8: Output: **** Core Bypassed CortxA8: Output: **** Now locking Core... CortxA8: Output: **** Core locked CortxA8: Output: **** DDR DPLL Bypassed CortxA8: Output: **** DDR DPLL Locked CortxA8: Output: **** PER DPLL Bypassed CortxA8: Output: **** PER DPLL Locked CortxA8: Output: **** DISP PLL Config is in progress .......... CortxA8: Output: **** DISP PLL Config is DONE .......... CortxA8: Output: **** AM335x ALL ADPLL Config for OPP == OPP100 is Done ......... CortxA8: Output: **** AM335x DDR3 EMIF and PHY configuration is in progress... CortxA8: Output: EMIF PRCM is in progress ....... CortxA8: Output: EMIF PRCM Done CortxA8: Output: DDR PHY Configuration in progress CortxA8: Output: Waiting for VTP Ready ....... CortxA8: Output: VTP is Ready! CortxA8: Output: DDR PHY CMD0 Register configuration is in progress ....... CortxA8: Output: DDR PHY CMD1 Register configuration is in progress ....... CortxA8: Output: DDR PHY CMD2 Register configuration is in progress ....... CortxA8: Output: DDR PHY DATA0 Register configuration is in progress ....... CortxA8: Output: DDR PHY DATA1 Register configuration is in progress ....... CortxA8: Output: Setting IO control registers....... CortxA8: Output: EMIF Timing register configuration is in progress ....... CortxA8: Output: EMIF Timing register configuration is done ....... CortxA8: Output: PHY is READY!! CortxA8: Output: DDR PHY Configuration done CortxA8: GEL Output: Turning on EDMA... CortxA8: GEL Output: EDMA is turned on... CortxA8: Output: **** AM3359_ICE Initialization is Done ******************
The debug console displays the following error when I see the do_AngleSWI message in the debug window:
CortxA8: Unhandled ADP_Stopped exception 0x20023
Is there anyone that can help me solve this issue ?
Kind regards,
Han Hoekstra