I have an issue with when I call the SaveUserParameters function. Its not an issue with the command itself it works fine But, when I call it I get the saved parameters sent to the debug port. I have no print statements of any kind to send it out the port. I cant remember if I changed something in a system file some where it tells it to print it when ever its called. I think I may have changed it a long time ago and I want to turn it off.
Anyone ever run into this?
SaveUserParameters debug output
Re: SaveUserParameters debug output
The SaveUserParameters function should not print anything to the serial ports. There really isn't much to this function, this should be easy to track down.
First look at SaveUserParameters in system.c:
C:\nburn\system\system.c
If you do not find a print statement in that function look at FlashErase and FlashProgram in bsp.c:
C:\nburn\(your platform)\system\bsp.c
Those are all the functions used, it has to be in one of those three.
First look at SaveUserParameters in system.c:
C:\nburn\system\system.c
If you do not find a print statement in that function look at FlashErase and FlashProgram in bsp.c:
C:\nburn\(your platform)\system\bsp.c
Those are all the functions used, it has to be in one of those three.
Re: SaveUserParameters debug output
Thanks for the reply - I only found 1 commented print statement in the system.c under the UpdateConfigRecord
/* iprintf("*******************Updateing config record # %d\r\n",num); */
but nothing under the SaveUserParams. Nothing in the other files either. I turned on some debuging in my code but no statements are glaring at me that would print it, I cant believe I cant find this. Going to look over my code again Thanks
/* iprintf("*******************Updateing config record # %d\r\n",num); */
but nothing under the SaveUserParams. Nothing in the other files either. I turned on some debuging in my code but no statements are glaring at me that would print it, I cant believe I cant find this. Going to look over my code again Thanks
Re: SaveUserParameters debug output
Found it , At the top of MydoPost nowhere near my SaveUserParam call - no wonder I couldnt find it.
iprintf( pData );
iprintf( pData );