Skip to main content

Show Posts

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

Messages - dchcaracter

1
Open source USB stack / Re: HID
Just had a closer look at the alphanumeric usage page. To implement this right, it will be quite an adventure. And taking into account there're no clients for them - would be a waste of time I think...
3
Open source USB stack / Re: HID
Nope and I don't even have an idea of how it is supposed to work. I've just started digging into it, however I use STM32 (bad thing to start with, I know). I'm just trying to get the bigger picture now. In vain so far.
There's something of interest: http://hidcomp.sourceforge.net/
4
Open source USB stack / Re: HID
Sorry for necroposting guys - any luck with HID Alphanumeric Display?
Did it work? How working with it looks from the PC side? I realize it shouldn't require drivers, but then what? How do I actually display info on it? (always thought LCD backpack was a HID display. Today realized it wasn't :()
8
Bus Pirate Development / Re: pyBusPirateLite for Windows
I mean it would be cool to create a BP shield with SD card and 1 (or more) analogue input to have BP store the log on eg xml format on SD card. I'm not up to this as this will take me a year (experience speaking here)
9
Bus Pirate Development / Re: pyBusPirateLite for Windows
Yesterday I used the above code to create a BusPirate Voltage Logger. The script get ADC measurement every pre-set interval and puts it to a log file along with time stamp. You can use it later to built a chart in Excel for example.

I'm not sharing it right now as the coding is lausy , GUI is exceptionally lousy and the output is not handy (takes some moves to properly import to Excel). But wanted to share the idea... Does BP works with SD cards out-of-the-box btv?
10
AVRDude / Re: Re: avrdude: initialization failed, rc=-2
I had to HV-program it, now it works. In the course of the troubleshooting tested BP in both native and STK500v2 modes - all works great although in BP mode it is sooooooooo slow that a bootloader upload could not finish in 25 minutes or so.
Thank guys, great tool. I love it more and more.
11
AVRDude / Re: Re: avrdude: initialization failed, rc=-2
What if I get rc=-2, but avrdude definitely getting response from BP?

I've got a mega328p. I've been trying to upload different bootloaders to it from within Arduino IDE using another Arduino as ISP. I'm quite sure I attempted to burn different bootloaders, including 3,3V and 5V versions (that differ in crystal settings - 8 and 16 MHz respectively). I don't know though if any bootloader upload succeded. So I don't know what fuses are in the part.

Assuming the part is still alive and it does not talk to the programmer, may it be that I programmed a fuse for 16MHz crystal? The part has 8MHz phisically attached so the clock is wrong so the part doesn't understand what BP wants from it? Is that a possible cause for this miscommunication? Does that mean that I _must_ solder a 16MHz crystal to get the part reprogrammed?

Thanks in advance
P.S. I have to add that the part _was_ working at least once. I uploaded Arduino bootloader in there and also uploaded Blink example - everything was working ok. However all the consecutive attempts to upload a scetch failed - that why I got to attempting anything that burns into the part...
12
Bus Pirate Development / Re: pyBusPirateLite for Windows
[attachment=0]
Here you can see two modules outlined with color.

Here's the main window code:

Code: [Select]
def main():
    root = Tk()
    mainWindow = Frame()
    mainWindow.pack(fill=BOTH, expand=1)
    comPort = comPortWidget(mainWindow)
    comPort.pack(fill=BOTH, expand=1)
    busPirate = busPirateWidget(mainWindow, comPort)
    busPirate.pack(fill=BOTH, expand=1)
    root.mainloop()
13
Bus Pirate Development / Re: pyBusPirateLite for Windows
Hi all, I'm not sure I'm posting in a correct thread (I rather am sure this is the wrong one since the last post is a year old), but still. I recently started playing with python and took off with 3.x version (which pyBusPirateLite does not support). And I'm also creating small widgets for myself to use in projects. So I decided to create a widget for BP as well as to make pyBusPirateLite work on python 3.x. Yesterday I got first results - it was a small effort updating sources to work with python v3 using supplied 2to3 script and than just some more tuning. It still requires some job to do, but now when the concept is clear, it shouldn't be that hard. Here comes the question - what do I do with my scripts when I'm done? Anyone is interested in them?

Oh, I guess it's clear that when I say "widgets" it means GUI? I can post some screens later, but the idea is that there's a combo from where you select a desired mode, a button that initiates bitbang to enter that mode, and a status label. This widget also uses a gui widget to work with a comport, so the concept is really modular... All the work with the selected mode when BP enters it comes from a different task-specific widget (e.d. IT3200 gyro control blah-blah-blah).
15
Project logs / Re: FT232BL
Yes, that's a heat shrink tube. It has a disadvantage however - it cover's all the pinout cheat labels, so I had to cut a window for them from the bottom.

( ! ) 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.01522423264session_write_close ( )...(null):0
20.01562554840ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01562555616Database_MySQL->query( ).../DatabaseHandler.php:119
40.06122694336Database_MySQL->error( ).../Db-mysql.class.php:273