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

DSPIC33EP512GP502 -- PCD v5.115 Bootloader UART issue
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Fri Jul 05, 2024 3:04 am     Reply with quote

Of course you can keep it in the application, but as I said, you do need an
enable_interrupts(GLOBAL), to allow it to work.
The point is that the bootloader re-vectors the interrupts to work in the
main code. You were overwriting this re-vectoring code by telling the
bootloader to use a buffer... :(
Marco27293



Joined: 09 May 2020
Posts: 126

View user's profile Send private message

PostPosted: Fri Jul 05, 2024 3:12 am     Reply with quote

Thanks !!

Now it's working with Receive_buffer only in application.

Regards!
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Fri Jul 05, 2024 5:16 am     Reply with quote

You may also find the size of the bootloader has reduced significantly.
The code to handle the buffer would be a large part of why the loader
was larger......
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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