[ECOS] processor hangs at 'hal_mon_init'
Wed Jun 28 19:47:00 GMT 2006
>> -----Original Message-----
>> From: Rohit Pandita [mailto:firstname.lastname@example.org]
>> Sent: Tuesday, June 27, 2006 05:36 PM
>> To: 'Gary Thomas'
>> Cc: email@example.com
>> Subject: Re: [ECOS] processor hangs at 'hal_mon_init'
>> Gary Thomas wrote:
>>> Rohit Pandita wrote:
>>>> Hi all,
>>>> While trying to singlestep through RedBoot in ROM (platform
>>>> PhyCore555), processor hangs at 'hal_mon_init' routine. Any clues
>>>> would be appreciated.
>>> What are you using to single step the code? That macro fiddles with
>>> the MSR (Machine State Register) and it might do something that confuses
>>> your debug environment.
>> Im using P&E Micro's BDM interface(usb-ml-ppcbdm) and debugger(icdppcz).
> Most BDMs exploit the MPC555 hardware to step instruction by instruction, so I doubt that could be the cause of your problem. It is more likely that something is wrong with your configuration. Which startup type do you use (ROM or RAM), is CYGSEM_HAL_USE_ROM_MONITOR defined ? Do you have any idea where exactly in hal_mon_init things go wrong ? What's the contents of the different processor registers right before it locks up ? Does it actually lock up, or is a processor exception raised (e.g. illegal instruction or memory protection) that does not bring the processor back into BDM mode ?
- using ROM startup, CYGSEM_HAL_USE_ROM_MONITOR not included (RedBoot
set to behave as ROM monitor)
- error occurs at instruction 'STWU R0,0004(R4)' in hal_mon_init.
Before execution: R0=7C71 43A6, R4=FFFF FFFC
After: -no change-
Why is it trying to write to a ROM location (0000 0000) when VSR table
should be copied to RAM, if I understand correctly
- execution halts with a debugger msg 'waiting for a keystroke or
I can send across the configuration(.ecc) file or anything else that
might help. Thanks in advance.
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
15, Akerman Hall
107, Akerman Hall
Department of Aerospace Engineering and Mechanics
University of Minnesota
110, Union Street S.E.
Minneapolis, MN 55455
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss