HIDBootLoader load hex file but ntg changed??

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: HIDBootLoader load hex file but ntg changed??

Postby FakeSheep » Tue Jul 19, 2011 6:20 pm

u means the user manual pg 41 right? ya i know that~ The .c file and rm18f4550.lkr file is added, but it still build failed...

and i tried ur method, i jz run the [SK40C sample code (bootloader).mcp] and rebuild it without editing, still failed = =
here is the printscreen..hope its help...
Attachments
Untitled.png
= =
FakeSheep
Novice
 
Posts: 24
Joined: Sun Jul 10, 2011 4:13 pm

Re: HIDBootLoader load hex file but ntg changed??

Postby A380 » Tue Jul 19, 2011 8:38 pm

In your MPLAB IDE, click this tab "Project>>Build Options>>Project then click "MPLINK Linker" tab. Print screen and post it here for me. Thanks.
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia

Re: HIDBootLoader load hex file but ntg changed??

Postby FakeSheep » Tue Jul 19, 2011 8:57 pm

is this right~
Attachments
Untitled.png
FakeSheep
Novice
 
Posts: 24
Joined: Sun Jul 10, 2011 4:13 pm

Re: HIDBootLoader load hex file but ntg changed??

Postby A380 » Tue Jul 19, 2011 9:04 pm

You try tick "Use Alternate Settings" and press ok.
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia

Re: HIDBootLoader load hex file but ntg changed??

Postby A380 » Tue Jul 19, 2011 9:06 pm

If still cant, replace the string to "/p18f4550" under "Use Alternate Settings" and click ok.
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia

Re: HIDBootLoader load hex file but ntg changed??

Postby FakeSheep » Tue Jul 19, 2011 9:44 pm

oh~seem better now...But when it is building, it got a "failed to load" message pop-up...but output message tell me that build succeeded and I still can load n test the program on my PIC, its works properly...what does it mean ah...
FakeSheep
Novice
 
Posts: 24
Joined: Sun Jul 10, 2011 4:13 pm

Re: HIDBootLoader load hex file but ntg changed??

Postby A380 » Tue Jul 19, 2011 10:24 pm

If you add your own linker file, you should do this but I didn't face this problem before. I found it from Microchip forum, "Ok, IDE will not supply the /p option if you have added a .lkr to the project. You should add the /p option to alternate setting string." :lol: So, did you add the string "/p18f4550"?
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia

Re: HIDBootLoader load hex file but ntg changed??

Postby FakeSheep » Tue Jul 19, 2011 11:21 pm

oic~~so if i add linker file to my project then i must put /p option depend on what PIC i used? yaya i do tick and replace the strings, then only can build it successful...If only tick and without replace the strings it still can't build....
Anyway, a "failed to load" msg pop-up during the file compiling ...i dunno what is it mean, is it important?
FakeSheep
Novice
 
Posts: 24
Joined: Sun Jul 10, 2011 4:13 pm

Re: HIDBootLoader load hex file but ntg changed??

Postby A380 » Tue Jul 19, 2011 11:31 pm

As long as can successfully built and can load your hex file via bootloader, is ok.
User avatar
A380
Discoverer
 
Posts: 120
Joined: Tue May 19, 2009 2:44 pm
Location: Malaysia

Re: HIDBootLoader load hex file but ntg changed??

Postby FakeSheep » Tue Jul 19, 2011 11:38 pm

okok~~u do really help me a lot~~thx ya~~ :D
FakeSheep
Novice
 
Posts: 24
Joined: Sun Jul 10, 2011 4:13 pm

PreviousNext

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 9 guests

cron