Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000230LoaderGeneral Featurespublic2011-07-19 16:452013-07-09 09:02
ReporterFred 
Assigned Tosean94z 
PriorityimmediateSeverityfeatureReproducibilityN/A
StatusassignedResolutionopen 
PlatformAllOSAllOS VersionAll
Product Version 
Target Version0.1.0Fixed in Version 
Summary0000230: Assist User Entering SM If Firmware Is Running When Load Start Attempted
DescriptionBoot up interrogation finds firmware running
User presses load
Loader walks user through process of entering SM:

Please switch the SM load/run switch to the load position and click OK when ready. Clicking cancel will abort the load.

When OK clicked send reset then re-interrogate and same again if still in SM post reset. Otherwise begin desired processes.
TagsNo tags attached.
Issue TypeBug
Risk of Breakagemedium
Attached Files

- Relationships

-  Notes
User avatar (0000394)
Fred (administrator)
2011-10-16 18:47

Would love to have this option!! :-) Would save me manually switching it and you could take the binary packet to do it straight from the lib dir into hex and use it as is. The only real work is in separating the serial mode for sm from firmware, but because you always knew that was a requirement, it's likely already done.
User avatar (0001312)
Fred (administrator)
2012-03-25 12:53

Bump, just got fucked by MTX again, please add this ASAP! I know it won't take you long to add a button, serial settings with parity and a hard coded reset packet as found in the lib dir of the firmware. It doesn't have to be smart/fancy yet.
User avatar (0001344)
sean94z (reporter)
2012-03-26 21:48

I need to see what state the loader is in. I can't remember if I was in the middle of moving over to my serialLib etc. Maybe I just had that on my dev branch. In which case I should be able to do some work on the master and not have to worry about *losing my work by using git :)
User avatar (0002692)
sean94z (reporter)
2013-07-07 06:59

hmmmm it's too bad the SM and FW use different parity options. I think I have to "reopen the port" to change parity, no? Either way I can not insult the user by attempting to reach the SM first, then if I don't get a response try to see if FW packets are coming in then kick-off things(user help messages) as you suggested.
User avatar (0002696)
Fred (administrator)
2013-07-09 09:02

Insult the user? Nothing insulting about being thorough in your interrogation IMO.

You likely do have to "reopen" the port.

You certainly can check the quantity of bytes, at the least, after a failed SM connect attempt, and as per convos with Mike you can differentiate different circumstances and give helpful messages to the user in each case.


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker