Cant make hex file ...
 
Notifications
Clear all

Cant make hex file for the px1

16 Posts
10 Users
0 Reactions
9,762 Views
Posts: 258
Topic starter
(@pinakbert)
Reputable Member
Joined: 16 years ago
[#27855]

little background... haven't touched any stuff for 2 years. newPc win7. Having problems with getting vixen3 / PX1 to light up set of pixel bulbs (WS2811) I got from DIYLEDExpress at the beginning of the year. So decided to download hex files to the chip. I have a pickit2.

It wasn't this hard to program the chips for the ren24ss I have, but that was on a XP machine 2years ago.

download latest MPASMWIN, or MPLAB IDE v8.92

when I tried to make a hex I get 4 errors. below is from the error file generated

Message[303] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 171 : Program word too large. Truncated to core size. (DFA4)
Message[303] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 174 : Program word too large. Truncated to core size. (D9FF)
Error[149] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 233 : Directive only allowed when generating an object file
Error[149] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 275 : Directive only allowed when generating an object file
Error[149] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 277 : Directive only allowed when generating an object file
Error[149] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 279 : Directive only allowed when generating an object file
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 371 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 392 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 448 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 483 : Invalid RAM location specified.
Message[305] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 503 : Using default destination of 1 (file).
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 547 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 624 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 626 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 679 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 681 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 712 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 806 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 808 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 924 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 926 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 997 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1201 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1203 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1254 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1256 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1369 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1473 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1475 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1565 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1567 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1657 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1659 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1684 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1894 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1896 : Invalid RAM location specified.
Warning[219] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 1937 : Invalid RAM location specified.
Warning[202] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 2275 : Argument out of range. Least significant bits used.
Message[303] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 2383 : Program word too large. Truncated to core size. (DFA4)
Message[303] C:\FIRMWARE\RENARD-PX1A_20130629_1374258537.ASM 2383 : Program word too large. Truncated to core size. (D9FF)


15 Replies
Wayne J
Posts: 7789
(@wayne-j)
Illustrious Member
Joined: 20 years ago

You cannot use MPASMWIN with the PX1 code, you must go through MPLABS and when promoted, use Relocatable


Reply
Posts: 258
Topic starter
(@pinakbert)
Reputable Member
Joined: 16 years ago

Haven't used MPLABS before. Is there a tutorial on how this is done?

So far when I have opened the ASM file in MPLABS, opened window. then When I went to connect PICkit2, says no 16F888 (the PIC from Ren24SS) not install or something like that... So I tried to configure it for the PX1 chip 16F1825. Says it doesn't support it.

Read the wiki about updating but cannot find where or how this is done.


Reply
Wayne J
Posts: 7789
(@wayne-j)
Illustrious Member
Joined: 20 years ago

No, there isn't one, but I will make one soon.

Later I can walk you through via a phone call if you like, 2-3 hours from now. (If you don't figure it out, PM me)


Reply
crazy_carpenter
Posts: 369
(@crazy-carpenter)
Reputable Member
Joined: 15 years ago

Plus 1 on what Wayne J said. MPASMWIN won't work on that code. A few of us beat our heads on that problem for months.


Reply
Page 1 / 4
Share: