Giter VIP home page Giter VIP logo

Comments (7)

eerimoq avatar eerimoq commented on July 17, 2024

I implemented a fix in c420fb2, created a tag 2.1.2 and uploaded it to PyPi.

The segments are inserted in ascending order, so iterating over the segments assuming ascending address should work. I split the address into the upper and lower 16 bits in as_ihex(), and are using the upper 16 for extended linear address and the lower in the data record.

A test case was added called test_issue_4(). It uses your example data and also another record testing that the segments are inserted by ascending address.

Thanks for the bug report =)

from bincopy.

awinner-stg avatar awinner-stg commented on July 17, 2024

Found another issue, if you read in an Intel hex file, then rewrite it, if there is a Type 0x05 record in it is lost as the program ignores those. Anyway to retain them?

Anthony Winner
Senior Software Engineer
Software Technology Group
4240 SW 109th Avenue
Beaverton, OR 97005
Office Phone: 503.672.9245
Email: [email protected]:[email protected]
Website: http://www.softwaretechnology.comhttp://www.softwaretechnology.com/

Electronic Transmission Confidentiality Notice
The information contained in this electronic transmission is private, confidential, the property of the sender, and intended for the use of the recipient(s), only. If you are not the addressee, any disclosure, copying, distribution or use of this information for any purpose is strictly prohibited. If you have received this information in error, please notify the sender, [email protected]:[email protected], immediately by e-mail and then delete this message. Thank you.
[FE.EN.1]

From: Erik Moqvist [mailto:[email protected]]
Sent: Wednesday, June 01, 2016 11:58 AM
To: eerimoq/bincopy
Cc: Anthony Winner; Author
Subject: Re: [eerimoq/bincopy] intel hex Extended Linear Address (#4)

Closed #4#4.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/4#event-678863676, or mute the threadhttps://github.com/notifications/unsubscribe/ASdG333BkLqeoixAy0EAJmr3ijzqqFP-ks5qHdYkgaJpZM4Irnh2.

from bincopy.

awinner-stg avatar awinner-stg commented on July 17, 2024

Will also need that info on read to jump to that vector, so need some solution……

Anthony Winner
Senior Software Engineer
Software Technology Group
4240 SW 109th Avenue
Beaverton, OR 97005
Office Phone: 503.672.9245
Email: [email protected]:[email protected]
Website: http://www.softwaretechnology.comhttp://www.softwaretechnology.com/

Electronic Transmission Confidentiality Notice
The information contained in this electronic transmission is private, confidential, the property of the sender, and intended for the use of the recipient(s), only. If you are not the addressee, any disclosure, copying, distribution or use of this information for any purpose is strictly prohibited. If you have received this information in error, please notify the sender, [email protected]:[email protected], immediately by e-mail and then delete this message. Thank you.
[FE.EN.1]

From: Anthony Winner
Sent: Wednesday, June 22, 2016 8:06 AM
To: 'eerimoq/bincopy'
Subject: RE: [eerimoq/bincopy] intel hex Extended Linear Address (#4)

Found another issue, if you read in an Intel hex file, then rewrite it, if there is a Type 0x05 record in it is lost as the program ignores those. Anyway to retain them?

Anthony Winner
Senior Software Engineer
Software Technology Group
4240 SW 109th Avenue
Beaverton, OR 97005
Office Phone: 503.672.9245
Email: [email protected]:[email protected]
Website: http://www.softwaretechnology.comhttp://www.softwaretechnology.com/

Electronic Transmission Confidentiality Notice
The information contained in this electronic transmission is private, confidential, the property of the sender, and intended for the use of the recipient(s), only. If you are not the addressee, any disclosure, copying, distribution or use of this information for any purpose is strictly prohibited. If you have received this information in error, please notify the sender, [email protected]:[email protected], immediately by e-mail and then delete this message. Thank you.
[FE.EN.1]

From: Erik Moqvist [mailto:[email protected]]
Sent: Wednesday, June 01, 2016 11:58 AM
To: eerimoq/bincopy
Cc: Anthony Winner; Author
Subject: Re: [eerimoq/bincopy] intel hex Extended Linear Address (#4)

Closed #4#4.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/4#event-678863676, or mute the threadhttps://github.com/notifications/unsubscribe/ASdG333BkLqeoixAy0EAJmr3ijzqqFP-ks5qHdYkgaJpZM4Irnh2.

from bincopy.

eerimoq avatar eerimoq commented on July 17, 2024

I'll have a look at it tonight. As you have already understood Indel Hex is not fully implemented yet. I'll do my best keeping up implementing the improvment requests. =)

Erik

from bincopy.

awinner-stg avatar awinner-stg commented on July 17, 2024

Found a simple fix, replace the ignore print with ‘ self.execution_start_address = (int(binascii.hexlify(data), 16))’

Rest of the logic is already there. Once I added that, my in / out files match perfectly. Will assume that the get / set functions for execution_start_address will work for my other script….

Thanks for the support….

Anthony Winner
Senior Software Engineer
Software Technology Group
4240 SW 109th Avenue
Beaverton, OR 97005
Office Phone: 503.672.9245
Email: [email protected]:[email protected]
Website: http://www.softwaretechnology.comhttp://www.softwaretechnology.com/

Electronic Transmission Confidentiality Notice
The information contained in this electronic transmission is private, confidential, the property of the sender, and intended for the use of the recipient(s), only. If you are not the addressee, any disclosure, copying, distribution or use of this information for any purpose is strictly prohibited. If you have received this information in error, please notify the sender, [email protected]:[email protected], immediately by e-mail and then delete this message. Thank you.
[FE.EN.1]

From: Erik Moqvist [mailto:[email protected]]
Sent: Wednesday, June 22, 2016 8:15 AM
To: eerimoq/bincopy
Cc: Anthony Winner; Author
Subject: Re: [eerimoq/bincopy] intel hex Extended Linear Address (#4)

I'll have a look at it tonight. As you have already understood Index Hex is not fully implemented yet. I'll do my best keeping up implementing the improvment requests. =)

Erik


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/4#issuecomment-227776700, or mute the threadhttps://github.com/notifications/unsubscribe/ASdG36qspao-eFeTKz9BBnh8-6Jb_q-Xks5qOVF8gaJpZM4Irnh2.

from bincopy.

eerimoq avatar eerimoq commented on July 17, 2024

Pushed the fix in version 2.1.4. Tried to upload the new version to pypi but failed. The login just hangs and nothing happens.

from bincopy.

eerimoq avatar eerimoq commented on July 17, 2024

At last, uploaded to pypi.

from bincopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.