Македонски форум за електроника
Дигитална електроника => Микроконтролери => Topic started by: Josifosky on 19.02.2014, Wednesday, 20:26:28
-
Имам една шема со Firmware во HiTech C18, Микроконтролерот е PIC18F2550, како можам да го претворам во hex да можам да го програмирам со PICKIT2 ?
-
што фајлче ти е тоа Firmware-то???
-
Hid bootloader со додадена TLC5940 библиотека.
-
Преку hiTech C ќе си го компајлираш програмот и ќе ти извади hex
-
Па компјалерот не можам да го најдам..
-
http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=SW006011#dtDocumentation
-
Еве што вика со ова .. а и не ги распоредува точно сепак ми треба за MPLAB 8 и HiTech c18 Compiler..
(http://i1369.photobucket.com/albums/ag239/Filip_Josifoski/proba_zps0cda6792.png)
-
На следниот линк побарај постара верзија на MPLAB, а за Hi-Tech C18, ти пратив ПП.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2115
-
Дали вака би требало да изгледа ако е комплетно точно компајлирано ?
Build C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\RGB Bargraph for device 18F2550
Using driver C:\Program Files (x86)\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\main.p1" is up to date.
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\tlc5940.p1" is up to date.
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\rgbled.p1" is up to date.
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\usb_descriptors.p1" is up to date.
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\usb_device.p1" is up to date.
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\usb_function_hid.p1" is up to date.
Make: The target "C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\usbcallback.p1" is up to date.
Executing: "C:\Program Files (x86)\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe" "-oRGB Bargraph.cof" "-mRGB Bargraph.map" --summary=default --output=default main.p1 tlc5940.p1 rgbled.p1 usb_descriptors.p1 usb_device.p1 usb_function_hid.p1 usbcallback.p1 --chip=18F2550 -P --runtime=default --opt=default -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
HI-TECH C PRO for the PIC18 MCU Family (Lite) V9.65
Copyright (C) 1984-2010 HI-TECH SOFTWARE
(1273) Omniscient Code Generation not available in Lite mode (warning)
Advisory[1233] Employing 18F2550 errata work-arounds:
Advisory[1234] * Corrupted fast interrupt shadow registers
Memory Summary:
Program space used 4A47h ( 19015) of 8000h bytes ( 58.0%)
Data space used 303h ( 771) of 400h bytes ( 75.3%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
ID Location space used 0h ( 0) of 8h nibbles ( 0.0%)
Configuration bits used 7h ( 7) of 7h words (100.0%)
Running this compiler in PRO mode, with Omniscient Code Generation enabled,
often produces code which is 60% smaller and at least 400% faster than in
Lite mode. The HI-TECH C PRO compiler output for this code could be
11271 bytes smaller and run 4 times faster.
See http://microchip.htsoft.com/portal/pic18_pro
for more information.
Loaded C:\Users\Filip\Downloads\RGB_Bargraph_Firmware_2\RGB Bargraph\RGB Bargraph.cof.
********** Build successful! **********
-
Па ти пишува :
********** Build successful! **********
-
Па и вчера компајлирав и ми пишуваше ама не го препознава :(
-
што не препознава ?
ако пиши дека е завршено и е успешно, тогаш е завршено и успешно што има тука да не препознава