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

Error while programming to bootloader

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



Joined: 06 Nov 2017
Posts: 1

View user's profile Send private message

Error while programming to bootloader
PostPosted: Mon Nov 06, 2017 11:06 am     Reply with quote

I've written a simple code for the PIC18F66K90 microcontroller and programmed it using the CCS C-Compiler and ICD-U64. I ran the program and it worked as expected.

I need my code to run without a programmer attached to it and to also run after a power cycle (turning the MCU off and on again).

But, when I try to program to bootloader, I'm running into an error which says
"ie_NOpen – device not open"

Is there any reason for such an error to occur? What are the steps I could try to fix this issue?

Thanks in advance. Smile
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Nov 06, 2017 1:05 pm     Reply with quote

this...
Quote:
ie_NOpen – device not open

...looks more like a PC msg rather than a PIC bootloader msg.

You should really tell us the 'big picture'... the OS, the PC bootloader program, what 'bootloader' program is in the PIC.

The more information you supply the faster someone here can reply with a possible answer.

It _might_ be that the terminal program (looks like RealTerm response..) couldn't find the USB(?) comport the PIC is connected to.
This is solely a GUESS on my part.
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