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

standard library init (STR71x)

I'm having difficulty still during boot of my STR71x board. Trying to get inherited software running on this board.

I chased a sort-of red herring for a while (see my other thread) and have discovered that my problem occurs long before the kernel is even initialized.

My problem is with the standard library. During stdio init, (__rt_lib_init -> __initio->freopen -> sys_open) an SWI instruction gets hit.

I've gotten this information from stepping through the dissassembly and cross referencing the mapfile with branch instructions- basic grunt work.

Now this may be proper, and I have to link in some handler for this specific SWI (which registers would have any parameters?) or it may be a problem with something else.

I have some basic questions:
- Anyone know what the problem is and a fix? (Sorry, gotta try...)
- Who provides the standard library that is used with the realview ARM tools? Is there some support/source? Can the source be debugged within uVision? Is Keil the wrong place to be looking for this support (is it ST? someone else?)

Thanks for any help.

Steve

Parents Reply Children
No data