Hi Everyone
I am just taking a little break from eLua to learn how to fabriacte PCBs but I was think the other day how nice it would be to be totally free of the proprietary IDE that shipped with my development board(and Windows), I can't flash my board without it. There is a program I have used once to monitor the traffic between a USB device and it's device driver: http://benoit.papillault.free.fr/usbsnoop/index.php.en If I was able to recreate the "command sets" understood by the development board do you think I could do away with the IDE? Is there anything obvious that would stand in my way? Thanks for reading-Patrick _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi Patrick,
What board are you using again? The EK-LM3S8962 by any chance? Using usbsnoop to reverse engineer the protocol is a way to go, but probably the most masochistic one :) There's probably a better way to do it. Best, Bogdan On Mon, Apr 19, 2010 at 4:55 PM, Patrick <[hidden email]> wrote: Hi Everyone _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Patrick-11 |
Hey Bogdan
Yep it's the EK-LM3S8962. Would it be better to try to disassemble the windows driver? I have never done this. Would this sort of thing help eLua? If not, it might not be worth the trouble. Thanks-Patrick Bogdan Marinescu wrote: > Hi Patrick, > > What board are you using again? The EK-LM3S8962 by any chance? > Using usbsnoop to reverse engineer the protocol is a way to go, but > probably the most masochistic one :) There's probably a better way to > do it. > > Best, > Bogdan > > On Mon, Apr 19, 2010 at 4:55 PM, Patrick > <[hidden email] > <mailto:[hidden email]>> wrote: > > Hi Everyone > > I am just taking a little break from eLua to learn how to > fabriacte PCBs but I was think the other day how nice it would be > to be totally free of the proprietary IDE that shipped with my > development board(and Windows), I can't flash my board without it. > > There is a program I have used once to monitor the traffic between > a USB device and it's device driver: > http://benoit.papillault.free.fr/usbsnoop/index.php.en > > If I was able to recreate the "command sets" understood by the > development board do you think I could do away with the IDE? Is > there anything obvious that would stand in my way? > > Thanks for reading-Patrick > _______________________________________________ > eLua-dev mailing list > [hidden email] <mailto:[hidden email]> > https://lists.berlios.de/mailman/listinfo/elua-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
On Mon, Apr 19, 2010 at 5:07 PM, Patrick <[hidden email]> wrote: Hey Bogdan Disassembling a Windows driver is not a job for a mere mortal :), and it wouldn't help much anyway, you need to know more about the protocol itself. As for helping eLua" it would probably help, but not much; our job is to make eLua itself very good, not to improve tool support from chip manufacturers (although I don't have a problem with doing this). I vaguely remember a thread on the Luminary Micro forums with some information about how to program your board from Linux, using OpenOCD. It's worth checking out. Best, Bogdan
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Dado Sutter |
James was able to flash his EK-LM3S6965 from Linux using OpenOCD.
I hope we can publish a small tutorial or at least some hints on the wiki one of these days. Best Dado On Mon, Apr 19, 2010 at 11:14, Bogdan Marinescu <[hidden email]> wrote:
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
I'd be interested in that too, actually.
Best, Bogdan On Mon, Apr 19, 2010 at 5:50 PM, Dado Sutter <[hidden email]> wrote: James was able to flash his EK-LM3S6965 from Linux using OpenOCD. _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Ronan Paixão |
That remembers me when a friend and I reverse-engineered Digilent's USB protocol for the Nexys2 FPGA board. That would only allow bitfile updates from Windows, but I ran Linux at the time. Quite tricky, and probably wouldn't work if we didn't have a good starting point (xilprg), but eventually it did work. Note: FPGAs are also programmed via JTAG.
Ronan 2010/4/19 Bogdan Marinescu <[hidden email]> I'd be interested in that too, actually. _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
In reply to this post by Patrick-11
Has anyone considered contacting TI? They are at least somewhat open to open source and Linux (e.g. BeagleBoard, HawkBoard, free for non-commercial use Linux command line compilers for the C6000 DSPs, etc). If they would provide details, it would be much, much easier to create a Linux flash down loader.
BTW, Patrick, are you trying to fabricate your own PCBs or learn how to design them so someone else can make them? --Tony On Mon, Apr 19, 2010 at 6:55 AM, Patrick <[hidden email]> wrote: Hi Everyone _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
On Wed, Apr 21, 2010 at 9:28 AM, Tony <[hidden email]> wrote:
Has anyone considered contacting TI? No, because I have a strong feeling that people already managed to do this, and I don't feel like being greated with a polite versoin of JFGI :) I never contact the manufacturer until I run out of options (unless of course I am in a big hurry). I'd search for the solution if I had some time, but I don't right now, unfortunately. They are at least somewhat open to open source and Linux (e.g. BeagleBoard, HawkBoard, free for non-commercial use Linux command line compilers for the C6000 DSPs, etc). If they would provide details, it would be much, much easier to create a Linux flash down loader. I'm quite sure it already exists in the combination of OpenOCD + some JTAG dongle (maybe even the USB to JTAG adapter present on Luminary's boards). The solution just doesn't seem to be that popular (yet). Best, Bogdan
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Patrick-11 |
In reply to this post by Tony-12
Hi Tony
Your post is a good reminder. I work with scientific instruments and all the manufacturers are hard to deal with. It never even crossed my mind that a manufacturer might help. I am trying to learn how to design boards for fabrication houses to build. I am actually giving gEDA a try. It has a steep learning curve and I am making slow progress. I settled on gEDA because I really want to produce production grade boards and it appears that people need to make their own footprints much of the time to do this anyhow, so it lowered the value of Eagle which sounds like it has a great set of libraries but which may or may not be suitable for drop in use on a commercial board. -Patrick Tony wrote: > Has anyone considered contacting TI? They are at least somewhat open > to open source and Linux (e.g. BeagleBoard, HawkBoard, free for > non-commercial use Linux command line compilers for the C6000 DSPs, > etc). If they would provide details, it would be much, much easier to > create a Linux flash down loader. > > BTW, Patrick, are you trying to fabricate your own PCBs or learn how > to design them so someone else can make them? > > --Tony > > On Mon, Apr 19, 2010 at 6:55 AM, Patrick > <[hidden email] > <mailto:[hidden email]>> wrote: > > Hi Everyone > > I am just taking a little break from eLua to learn how to > fabriacte PCBs but I was think the other day how nice it would be > to be totally free of the proprietary IDE that shipped with my > development board(and Windows), I can't flash my board without it. > > There is a program I have used once to monitor the traffic between > a USB device and it's device driver: > http://benoit.papillault.free.fr/usbsnoop/index.php.en > > If I was able to recreate the "command sets" understood by the > development board do you think I could do away with the IDE? Is > there anything obvious that would stand in my way? > > Thanks for reading-Patrick > > _______________________________________________ > eLua-dev mailing list > [hidden email] <mailto:[hidden email]> > https://lists.berlios.de/mailman/listinfo/elua-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Patrick,
In my job (automation), I expect crappy to OK manuals and good tech support. If I have a choice, I'll dump a vendor that charges typical prices and has lousy tech support. Maybe the fact that my typical vendor is small to mid-size helps. Most semiconductor companies have pretty good support; to give one example, TI has an ultra low cost JTAG adapter you can build yourself, the XDS-100 ( http://processors.wiki.ti.com/wiki/index.php?title=XDS100 ). Unfortunately, it doesn't support Cortex-M3. Figuring out how to get boards designed and manufactured is a big learning curve; fortunately, I had help. It's good to look at the fab houses you're considering before laying out your PCB, because they can have quirky rules (e.g. fixed drill sizes, only plated holes) that you may need to consider in your layout. --Tony On Wed, Apr 21, 2010 at 5:47 AM, Patrick <[hidden email]> wrote: Hi Tony _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
In reply to this post by BogdanM
OpenOCD works to flash luminary boards using the on-board JTAG many of
them come with. Someone else also wrote some Tcl/Tk tool for flashing luminary boards which you can find on their message boards. Unfortunately I don't know too many details of how JTAG works for flashing with these platforms but I get the sense that OpenOCD is just using some standard ARM JTAG interfacing with knowledge of the memory offsets to start writing at and some details about supported commands (types of resets, etc) so it might not be terribly painful to write some simple flashing tool. That said I'm not sure where to look for implementation details aside from ARM's docs and OpenOCD's source. As for just using OpenOCD I think I posted the flashing config file and script a little while ago. They should work with a few path tweaks and compiling OpenOCD from source with libftdi support. I've had it on my todo list to make some kind of tutorial but haven't gotten to it yet :) On Wednesday, April 21, 2010, Bogdan Marinescu <[hidden email]> wrote: > On Wed, Apr 21, 2010 at 9:28 AM, Tony <[hidden email]> wrote: > > > Has anyone considered contacting TI? > No, because I have a strong feeling that people already managed to do this, and I don't feel like being greated with a polite versoin of JFGI :) I never contact the manufacturer until I run out of options (unless of course I am in a big hurry). I'd search for the solution if I had some time, but I don't right now, unfortunately. > They are at least somewhat open to open source and Linux (e.g. BeagleBoard, HawkBoard, free for non-commercial use Linux command line compilers for the C6000 DSPs, etc). If they would provide details, it would be much, much easier to create a Linux flash down loader. > > I'm quite sure it already exists in the combination of OpenOCD + some JTAG dongle (maybe even the USB to JTAG adapter present on Luminary's boards). The solution just doesn't seem to be that popular (yet). > > > Best, > Bogdan > > > On Mon, Apr 19, 2010 at 6:55 AM, Patrick <[hidden email]> wrote: > Hi Everyone > > I am just taking a little break from eLua to learn how to fabriacte PCBs but I was think the other day how nice it would be to be totally free of the proprietary IDE that shipped with my development board(and Windows), I can't flash my board without it. > > There is a program I have used once to monitor the traffic between a USB device and it's device driver: > http://benoit.papillault.free.fr/usbsnoop/index.php.en > > If I was able to recreate the "command sets" understood by the development board do you think I could do away with the IDE? Is there anything obvious that would stand in my way? > > Thanks for reading-Patrick > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > > > > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > > > -- James Snyder Biomedical Engineering Northwestern University [hidden email] PGP: http://fanplastic.org/key.txt Phone: (847) 448-0386 _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Free forum by Nabble | Edit this page |