Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - hex file error

(you are viewing a thread; or go back to list of threads)

hex file error (by kev )
Hello,

I have a problem with ver 3.3, i compile to hex file but when pickit 3 loads it tells me there is an error in hex file.
I try the same on ver 3.21 and all is o.k.
Has anyone experienced this?
Tue Apr 26 2016, 19:52:31
(no subject) (by Ihor Nehrutsa)
Please send your ld file to [email protected] or attach here.
Wed Apr 27 2016, 06:13:58
hex error (by kev)
Hi, I have attached the hex file, thanks.
Wed Apr 27 2016, 09:57:16, download attachment encoder2.hex
(no subject) (by MGP)
We don't know the type of controller you use.
We cannot compare the 2 codes generated by v 3.2 and 3.3 therefor we need the LD file.
Wed Apr 27 2016, 12:57:49
hex error (by kev)
O.k. ld file attached.Thanks.
Wed Apr 27 2016, 19:54:56, download attachment encoder2.ld
(no subject) (by MGP)
Ihor, there is something wrong in the file saving erea.

If I want to "compile as" I get this message and I am not Kevin.

Its ok in version 3.2
Thu Apr 28 2016, 03:08:20, download attachment Snap60.jpg
(no subject) (by kev)
I get the same warning.
Thu Apr 28 2016, 10:59:51
(no subject) (by Petar)
If You save file under different name it compile without problems.
Sat Apr 30 2016, 02:51:43
(no subject) (by Ihor Nehrutsa)
1) Error message "Couldn't open file ...." is not critical, please ignore it, I will fix this bug in 3.3.1 release.

2) About first post of kev. I haven't pickit 3. But I compile
encoder2.ld in 2.3, 3.3.0 and 3.2.1 releases. Hex file in 3.3.0 and 3.2.1 are IDENTICAL, and must cause the same(IDENTICAL) error message in pickit 3.
Question to kev: Are you sure that 3.2.1 ver is o.k?

3.2.1 hex file is shorter then 2.3, but it is normally.
Wed May 4 2016, 04:26:20
(no subject) (by Ihor Nehrutsa)
I try open 2.3 and 3.2.1 hex's of encoder2.ld in proteus
and I have two same warnings
"ADC conversion clock period less than min ...."
Wed May 4 2016, 06:57:30
(no subject) (by Ihor Nehrutsa)
message
Wed May 4 2016, 08:51:02, download attachment proteus.png
(no subject) (by MGP)
Most of the programs do not work with Protheus, it's not Ldmicro but the simulator who has flaws.
Don't waste your time on Protheus.
Wed May 4 2016, 13:11:47
(no subject) (by kev)
I have compiled with all versions of ldmicro and noted the checksum as follows:
3.30 3002
3.21 949a
3.20 949a
3.10 19bd
2.3 19bd
This is reported by pickit3 software.All versions work apart from 3.30.
I hope this is some help.
Thu May 5 2016, 22:53:31
(no subject) (by Ihor Nehrutsa)
Today I bought pickit3 clone. Estimated delivery time is 40 days. This issue not closed, you must wait this time. To be continued...
Fri May 6 2016, 08:03:01
(no subject) (by Ihor Nehrutsa)
to kev

I test encoder2 in Proteus.
It work in all versions of ldmicro.

And you can see encoder2.asm for MPASMWIN compiler.
Fri May 13 2016, 08:35:53, download attachment encoder2.zip
(no subject) (by Ihor Nehrutsa)
You press the buttons and can see the signals on an virtual oscilloscope.
Fri May 13 2016, 08:44:06, download attachment proteus.png
(no subject) (by kev)
O.K. thanks for that, there may be a problem with my equipment then.
Fri May 13 2016, 10:26:01
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):