2013-10-09 02:02 PM
I'm using Cosmic 4.3.6 compiler & have a project with greater then 32k code. I need to checksum the flash at startup and periodically during runtime to satisfy UL60730. My first project (about 12k code size) went well & everything was as I expected.With this one however, the checksumming blows up completely. The descriptor table at __ckdesc__ is built using NEAR pointers, and the actual function f__checksum16 in cksum161.s fails miserably as it is expecting the descriptor to be in near memory. Even if it was, all the pointers are truncated. Of course the start address of 0x8080 is OK but the end address of 0x0651 instead of 0x10651 is completely wrong.
Hopefully I've done something wrong! I'm not holding out much hope though. Any ideas? Thanks jdf2013-10-10 12:37 AM
2013-10-10 08:30 AM
Luca
Thanks! We let maintenance lapse a while back so I don't have that option right now. We're planning to add another license but upgrading the other 2 is costly so management is resisting. I looked at the release notes for 4.3.7 & it doesn't mention any fix for long pointers in the descriptor table. I have another project that is pressing, so I will be off this for 2/3 weeks. I'll send an email when I can get back to this. Again THANKS!!!!! jdf2013-10-25 09:26 PM