CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Facts about ccsbootloader.exe

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bdeb



Joined: 05 Nov 2010
Posts: 42
Location: Sweden

View user's profile Send private message Visit poster's website

Facts about ccsbootloader.exe
PostPosted: Fri Dec 15, 2023 7:43 am     Reply with quote

Compiler: 5.115
uP: 18F16Q41
IDE: MPLAB-X 6.0

First a big "thank you" to all gurus who share their knowledge here!
Read a gazillion posts about bootloading and now have it working like clockwork after cleaning up examples.

For production, I want to use the command-line ccsbootloader.exe, but could not find a trace of manual anywhere. So I had a peek at the code..

Options seem to be:
PORT=COMx
BAUD=xxxxx
DEBUG=filename
DEBUGT=filename (As above but with timestamps)
NOPROMPT (Have no clue)
MODE2X (Documented in .c code)
VIDPID=vvvvpppp (Lock to one USB adapter??)
DTR (Still clueless)

Anyone?

On the positive side, it works excellent at 115.200 Baud and even without
changing DeviceManager-settings of buffers and handshake.
Seems it only sends one row (<50 byte) at a time and then waits for ACK/XON.

Tested and true for Win7 on benchtop and Win10 on Intel NUC,
both via FTDI USB->TTL adapters.


Will test more with BOOTBLOCK and MVECEN on Q41 to see if they play nice together with my code..


Happy holidays from Sweden!

/Björn
Ttelmah



Joined: 11 Mar 2010
Posts: 19492

View user's profile Send private message

PostPosted: Sat Dec 16, 2023 5:14 am     Reply with quote

DTR is to use DTR handshaking.
NOPROMPT means it works silently. Otherwise it puts up a status display.
bdeb



Joined: 05 Nov 2010
Posts: 42
Location: Sweden

View user's profile Send private message Visit poster's website

PostPosted: Sat Dec 16, 2023 8:10 am     Reply with quote

Thank you Ttelmah, the NOPROMPT will come in handy for me.

All the best:

/Björn
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group