This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX/SWI configuration

Hey folks,

I've been struggling with an issue in getting an STR7x (actually an STR712) to get as far as main() with RTX.

- I have read that RTX uses the first 8 or so SW interrupts for internal use.
- I have used the generic startup files (with EIC=0- so I think that this means that there is no interrupt service.
- When I boot the processor, it gets through the earliest part of the boot, and (based on stepping through assembly and referencing the mapfile) gets into initializing the STR7 libs
- a SWI occurs, and the configuration described means that an SWI is an endless loop.

So, I think I have a configuration issue, somehow I have to have these SWI events be processed by RTX. I've read vague references in the documenation that RTX provides an SWI handler- it would have to. But I can't seem to find any documentation, example, immediately straightforward way to make this connection.

I'm using uVision3.31 and the RealView toolchain. I have the 'RTX kernel' option selected in the operating system option.

Can anyone point me to some docs or otherwise help?

Thanks,
Steve

Parents
  • I am not using OS services and of course the GNU library may be a totally different animal from what you are using. I was seeing "SWI 0x00123456" when stepping through the GNU C library setup which indicates a semi-hosting command. I disassembled the library and found labels that indicated it was trying to initialize a monitor of some sort. I don't need any kind of monitor since I am using uVision, so skipping it wasn't a problem. I have my full system up and running and it has been fine.

    Kathy

Reply
  • I am not using OS services and of course the GNU library may be a totally different animal from what you are using. I was seeing "SWI 0x00123456" when stepping through the GNU C library setup which indicates a semi-hosting command. I disassembled the library and found labels that indicated it was trying to initialize a monitor of some sort. I don't need any kind of monitor since I am using uVision, so skipping it wasn't a problem. I have my full system up and running and it has been fine.

    Kathy

Children
No data