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 - Slimfish

1
Bus Pirate Support / Re: Self test results
Hi Sjaak & Ian,

excuse me for the delayed response. I forgot the buspirate @ work, so i couldn't make any test through weekend.

After several firmware testing (5.5, 4.5, 4.2) i discovered that VR2 (MIC5205-3.3) was giving 4.068V instead of 3.3V. I really don't know how i semi burnt it. But hardware sometimes get screwed up. Iron time!!

I checked the IC labeling, so it's not a problem of a wrong chip but of a bad use!!.

Anyway, thank you for the tips.

Slimfish

edit: i replaced the mic5205-3.3 by a tps76033 (i didn't have any other right here) and everything works fine (checked with all firmwares). Bus pirate  hardware is very resilient!!!
2
Bus Pirate Support / Re: Self test results
Hi,

i've recently upgraded my buspirate v2go to fw V5.4. When i tried to use the PSU it reported an error (VREG too low, is there a short?), so i disconect everything and performed a self test (with Vpu to +5V and ADC to +3.3V connections).

The test failed due low voltages but i measured them (before terminating the test) and they are 5V and 3.3V as expected. The case is that self-test measured values are off by the same constant (5/3.8 = 3.3/2.5)

Any ideas?

Below is the self test log.

Code: [Select]
Bus Pirate v3a
Firmware v5.4 (r454) Bootloader v4.4
DEVID:0x0447 REVID:0x3043 (B5)
http://dangerousprototypes.com
HiZ>
HiZ> ~
Disconnect any devices
Connect (Vpu to +5V) and (ADC to +3.3V)
Space to continue
Ctrl
AUX OK
MODE LED OK
PULLUP H OK
PULLUP H OK
VREG OK
ADC and supply
5V(3.80) FAIL
VPU(3.80) FAIL
3.3V(2.50) FAIL
ADC(2.50) FAIL
Bus high
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 0
MOSI OK
CLK OK
MISO OK
CS OK
Bus Hi-Z 1
MOSI OK
CLK OK
MISO OK
CS OK
MODE and VREG LEDs should be on!
Any key to exit
Found 4 errors.
3
OpenOCD JTAG / Re: Getting started
Robots:

thank you, i'll check it as soon as i can and then i will report the obtained read/write speeds.

Thank you
4
OpenOCD JTAG / Re: Getting started
I've compared schematic of Olimex dev. board with the board i have (DSO Nano) and JTAG resistors are not exactly the same (18K instead of 10K) and not all resistors are pull-up. So i will try to match the resistors in your board and see what happens... but unfortunately that will be on monday.
5
OpenOCD JTAG / Re: Getting started
The cables are quite short, about 10cm or less and all run in parallel. If you had the same problem with the wiggler and long cables maybe firmware is toggling JTAG lines too fast.

Tomorrow i'll try to make the cable shorter (3cm) and test again.

I'll report as soon as i get something useful.
6
OpenOCD JTAG / Re: Getting started
Hi robots,

finaly, i'd managed to update my buspirate firmware and build the openOCD (0.5.0-dev-00066-g17d437a-dirty). I've sucessfully connected to a STM32F106 CPU. But when i tried to make a flash dump to test the transfer speed ( dump_image /home/slimfish/backup.bin 134217728 131072) i've got the following error:

Open On-Chip Debugger 0.5.0-dev-00066-g17d437a-dirty (2010-03-10-09:39)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
srst_only separate srst_gates_jtag srst_open_drain
1000 kHz
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100

Info : Buspirate Interface ready!
Error: Translation from jtag_speed to khz not implemented
Info : interface specific clock speed value 1000
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1)
Info : stm32.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'telnet' connection from 0
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000120 msp: 0x20000a7c
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x80000004
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x80000004
Warn : Block read error address 0x80000000, count 0x8c
Command handler execution failed

Do you know what does the error mean? (i'm pretty new to OpenOCD). By the way, i'm not using TRST pin... could be that the source of the error?

Congratulations robots (as i'm afraid that the error is not in the code but in my openocd 'skills'). Again, kudos to you.
7
OpenOCD JTAG / Re: Getting started
Hi robots,

i followed the steps you post in the howto. But some problems have arose:
-When i updated buspirate firmware with the one you provided, does it replace bootloader (v4.2) somehow? the GUI only allowed me to burn the new firmware if the bootloader can be overwritten.
-Related to previous one... is there any way to check if the buspirate has the openocd firmware up and running via terminal?

Thank you,
8
OpenOCD JTAG / Re: Getting started
Hi robots,

i was going to ask you for a patch of openOCD last revision (0.4.0). Can you also post it in the bus pirate repositories?

Thank you,
9
OpenOCD JTAG / Re: Getting started
Robots,

i'm trying to get a couple of hours to test the openOCD/Buspirate integration but unfortunately i'm quite busy right now.

But i'd like to say kudos for your impressive work and programming skills. Well done man!!!

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