I have a stange problem that I came across with SYS/BIOS and the sprintf statement. I have a routine that dumps data to a terminal via RS-232. It runs in a loop untill the user exits. Mostly this has worked well for me until I tried to use the sprintf statement to format a float variable, which crashes SYS/BIOS. I found a work around but it doesn't make much sense. I'm using a Semaphore_pend with a time out to act as a delay for the routine. As long as I've used the semaphore pend once before the sprintf all is fine, however if the sprintf statement happens before any semaphore pend has been run.
Is this a bug in SYS/BIOS?
Is there a better work around?
Note this is running on a TMS320F28335
Ed