Giter Club home page Giter Club logo

Comments (8)

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

Maybe use this for flash programming?

https://github.com/Guntermann-Drunck/c2tool

from xforth.

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

Or this:
https://github.com/tridge/ec2

Newer version?
https://github.com/paragonRobotics/ec2-new
https://github.com/setarcos/ec2-newer

Newer version?
https://github.com/four0four/ec2
http://www.rpi.edu/dept/ecse/mps/LITECLinuxGuide2014.pdf

from xforth.

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

Or use SiLab's "Simplicity Studio".
https://www.silabs.com/products/development-tools/software/simplicity-studio

Or use their Windows command line tool in Wine.
https://www.silabs.com/documents/login/software/utildll.exe

from xforth.

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

There is a command line flash tool in Simplicity Studio. Secret revealed by SiLabs support:

If you have installed Simplicity Studio on the Linux machine then the 8051 command line tool for flashing images is also installed. The file will be in the [SIMPLICITY_STUDIO_INSTALLATION]/developer/adapter_packs/c8051. The name of the tool is flash8051 and typing flash8051 -? will give a usage summary.

from xforth.

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

My 8051 board is putting up resistance. I haven't been able to program it from Simplicity Studio, or the flash8051 command line tool.

The tools says

OSX firmware update in progress.Bootload Run Command failure: status:00, FWresponse:00.
Firmware execution error: status:00.
Incorrect Firmware version download!Communication could not be established with the specified adapter.
Please confirm the current adapter selection and cable connection.flash8051 [ERROR: Bootloader returned failure response.]

And I see this in the system log when I attach the board through USB:

hid-generic 0003:10C4:8253.0004: usb_submit_urb(ctrl) failed: -1
hid-generic 0003:10C4:8253.0004: timeout initializing reports

from xforth.

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

Link to SiLabs forum post:
http://community.silabs.com/t5/8-bit-MCU/Can-t-access-ToolStick-C8051F330/m-p/212690

from xforth.

mretallack avatar mretallack commented on June 12, 2024

Hi,

I had the same issue and found that the following line to the GRUB_CMDLINE_LINUX_DEFAULT option fixed the issue:

usbhid.quirks=0x10c4:0x8253:0x20000000

This removed the usb_submit_urb(ctrl) failed: -1 issue and the Linux version of flash8051 now returns the correct reply.

from xforth.

larsbrinkhoff avatar larsbrinkhoff commented on June 12, 2024

Wow, thank you very much for this hint!

from xforth.

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.