Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - pppd

125
Bus Pirate Development / Re: bootloader v4 console utility
It is now compatible with BigEndian machines so it works with PowerPC Macs too :) (@will_j, thanks for testing)

Ian, there are a few zips now.. shall I remove the old ones and leave the latest only, or we could think of a better way of handling this like including it in the repository?
126
Bus Pirate Development / Re: bootloader v4 console utility
I'm afraid it is not compatible with Big Endian machines at the moment as I use some direct 32bit address casting to byte arrays with C unions. The source code is included so feel free to give it a go or wait until I post a BE/LE compatible code.
127
Bus Pirate Development / Re: bootloader v4 console utility
I have just added Windows support to the console utility, so if there is someone without .NET framework willing to update now they can.

I have not fully tested it, just tried --hello mode to see if it communicates properly so I would like to ask sb with native Windows installation to give it a go. It is just a compatibility port so it does not use any overlapped IO instead I emulate select by probing the COM port for data every 250ms. This should work well enough I guess.

Usage is exactly the same as in UNIXes, just put --dev=COM1 as the device path or whatever the COM{X} is correct for your system.
128
Bus Pirate Development / Re: bootloader v4 console utility
[quote author="ian"]I'm glad you figured it out. From the email notice it looked like you were having some issues, but when I read the post all looks ok.[/quote] That's true, I lost a few hours because of a incomplete dump file made with portmon. It turns out it did not catch everything from the transaction and some things got mixed up. Maybe it's because I run it with vmware?

Anyway, I am waiting for any report that it works somewhere else too ;)
129
Bus Pirate Development / Re: bootloader v4 console utility
The console client for the v4 bootloader is ready or at least fully usable. It needs some better error handling but at this point it will do everything it should. That includes HEX parsing with CRC and address checking, etc.

I have tested it only with the latest firmware and BPv3 under MacOSX, FreeBSD 6.3 and Linux.

It is written in pure C and should compile on any POSIX compatible system. I guess it would work under Windows too, but some includes should be replaced.

I have attached it together with sources and pre-built binaries for MacOSX and Linux.

Usage is pretty simple:

Code: [Select]
./ds30client --dev=/path/to/device --hello
./ds30client --dev=/path/to/device --hex=/path/to/hexfile.hex [ --verbose
130
Bus Pirate Development / Re: bootloader v4 console utility
I'm still working on it as I can't figure why the data sent by the uploader is not exactly the same as in the HEX file.

I know word size is 24bit/3bytes so every 4th byte from the HEX is ignored 0x00, but still something seems to be wrong or sth I am not aware of.

Edit:

After going through the C# code I think I know where I was wrong.
133
Bus Pirate Development / bootloader v4 console utility
As I am not really fond of GUI stuff especially that has to be run with Mono I'd like to make a console utility that would work with the new bootloader. I can't offer a Python script as this is not my primary programming language but plain C or php script no problem.

My goal is to support only the BP so I am not sure if going through ds30 loader sources is the good choice. Maybe there's some short protocol description or a dump I could start with? I can also run a serial sniffer on vmware and dump the transaction myself, but if it's ready please post it here.
135
Bus Pirate Support / Re: Program AVRs, EEPROMs w/ AVRDude and BP
MSP430 and CC1111fxx is what I need, but as I already have a MSP430 programmer and I need to work with CC1111fxx this will be my primary target. Maybe they share programming interface, I will have a look.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01622427376session_write_close ( )...(null):0
20.01652558992ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01652559768Database_MySQL->query( ).../DatabaseHandler.php:119
40.05912698528Database_MySQL->error( ).../Db-mysql.class.php:273