Is this a Bug?

Bus Pirate firmware and hardware development.

Is this a Bug?

Postby canghaiwuhen » Fri Mar 11, 2011 9:02 am

My Bus Pirate Update to Firmware 5.10,but I found some questions:

1. The "h" command cann't use.
2. The "}" command cann't use.
3. The "c/C" control CS pin ,but the dislpay is also AUX.

The Last,I'm a chinese user,my english is not good,so my words maybe speak wrong.
Please don't laugh me.
:-D
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby ian » Fri Mar 11, 2011 9:19 am

Hi canghaiwuhen,

These should all work.

Please make sure you use 'h' and not 'H', but all other keys should work.

Maybe check the terminal emulation type (VT-102).

Also: you can try to update the firmware again in case something is wrong.

Please let me know, I will help the best I can.
User avatar
ian
Crew
Crew
 
Posts: 10571
Joined: Mon Jul 06, 2009 6:14 am

Re: Is this a Bug?

Postby canghaiwuhen » Fri Mar 11, 2011 10:26 am

Hi ian,

'h' and 'H' are all cann't use,and all other keys is ok.

Termnal is work.

And I have update the firmware again,but it have the same questions.

1.jpg
1.jpg (7.25 KiB) Viewed 3445 times


2.jpg
2.jpg (12.93 KiB) Viewed 3445 times


3.jpg
3.jpg (9.96 KiB) Viewed 3445 times
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby ian » Fri Mar 11, 2011 10:55 am

Ah, I understand now.

h was removed in 5.10. Now use up and down arrows to scroll through the history. That should be removed from the menu.

{} are only for use in UART and MIDI mode, else use []

The AUX seems to work, but the display is off. See this example:
Code: Select all
SPI>c
a/A/@ controls AUX pin
SPI>a
AUX LOW
SPI>i
Bus Pirate v3b
Firmware v5.10 (r559)  Bootloader v4.4
DEVID:0x0447 REVID:0x3042 (24FJ64GA002 B4)
http://dangerousprototypes.com
CFG1:0xF9DF CFG2:0x3F7F
*----------*
Pinstates:
1.(BR)  2.(RD)  3.(OR)  4.(YW)  5.(GN)  6.(BL)  7.(PU)  8.(GR)  9.(WT)  0.(Blk)
GND     3.3V    5.0V    ADC     VPU     AUX     CLK     MOSI    CS      MISO
P       P       P       I       I       O       O       O       O       I
GND     0.00V   0.00V   0.00V   0.00V   L       L       L       H       L
Power supplies OFF, Pull-up resistors OFF, Normal outputs (H=3.3v, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls AUX pin
SPI (spd ckp ske smp csl hiz)=( 1 0 1 0 1 0 )
*----------*
SPI>A
AUX HIGH
SPI>i
Bus Pirate v3b
Firmware v5.10 (r559)  Bootloader v4.4
DEVID:0x0447 REVID:0x3042 (24FJ64GA002 B4)
http://dangerousprototypes.com
CFG1:0xF9DF CFG2:0x3F7F
*----------*
Pinstates:
1.(BR)  2.(RD)  3.(OR)  4.(YW)  5.(GN)  6.(BL)  7.(PU)  8.(GR)  9.(WT)  0.(Blk)
GND     3.3V    5.0V    ADC     VPU     AUX     CLK     MOSI    CS      MISO
P       P       P       I       I       O       O       O       O       I
GND     0.00V   0.00V   0.00V   0.00V   H       L       L       H       L
Power supplies OFF, Pull-up resistors OFF, Normal outputs (H=3.3v, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls AUX pin
SPI (spd ckp ske smp csl hiz)=( 1 0 1 0 1 0 )
*----------*
SPI>C
a/A/@ controls CS pin
SPI>a
AUX LOW
SPI>i
Bus Pirate v3b
Firmware v5.10 (r559)  Bootloader v4.4
DEVID:0x0447 REVID:0x3042 (24FJ64GA002 B4)
http://dangerousprototypes.com
CFG1:0xF9DF CFG2:0x3F7F
*----------*
Pinstates:
1.(BR)  2.(RD)  3.(OR)  4.(YW)  5.(GN)  6.(BL)  7.(PU)  8.(GR)  9.(WT)  0.(Blk)
GND     3.3V    5.0V    ADC     VPU     AUX     CLK     MOSI    CS      MISO
P       P       P       I       I       O       O       O       O       I
GND     0.00V   0.00V   0.00V   0.00V   H       L       L       L       L
Power supplies OFF, Pull-up resistors OFF, Normal outputs (H=3.3v, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls CS pin
SPI (spd ckp ske smp csl hiz)=( 1 0 1 0 1 0 )
*----------*
SPI>A
AUX HIGH
SPI>i
Bus Pirate v3b
Firmware v5.10 (r559)  Bootloader v4.4
DEVID:0x0447 REVID:0x3042 (24FJ64GA002 B4)
http://dangerousprototypes.com
CFG1:0xF9DF CFG2:0x3F7F
*----------*
Pinstates:
1.(BR)  2.(RD)  3.(OR)  4.(YW)  5.(GN)  6.(BL)  7.(PU)  8.(GR)  9.(WT)  0.(Blk)
GND     3.3V    5.0V    ADC     VPU     AUX     CLK     MOSI    CS      MISO
P       P       P       I       I       O       O       O       O       I
GND     0.00V   0.00V   0.00V   0.00V   H       L       L       H       L
Power supplies OFF, Pull-up resistors OFF, Normal outputs (H=3.3v, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls CS pin
SPI (spd ckp ske smp csl hiz)=( 1 0 1 0 1 0 )
*----------*
SPI>

the AUX and CS respond correctly. That should be updated too.

Thanks for the bug reports!

Ian
User avatar
ian
Crew
Crew
 
Posts: 10571
Joined: Mon Jul 06, 2009 6:14 am

Re: Is this a Bug?

Postby canghaiwuhen » Fri Mar 11, 2011 6:19 pm

yeah,I know.

hehe, and bus pirate is so useful that I'm admire you.

And I'm writing a guide for chinese user.

O(∩_∩)O~
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby ian » Sat Mar 12, 2011 2:47 am

That is fantastic, thank you. It would be great to see more Chinese users of the Bus Pirate.

Feel free to add it to our wiki, I think it will support all UNICODE characters.
User avatar
ian
Crew
Crew
 
Posts: 10571
Joined: Mon Jul 06, 2009 6:14 am

Re: Is this a Bug?

Postby canghaiwuhen » Sat Mar 12, 2011 5:07 am

OK!

When I complete the guide,I should sent it to you.
But my job is busy,so it's not faster.
(*^__^*)
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby canghaiwuhen » Tue Mar 15, 2011 7:26 am

Hello
I read the wiki and try all the use or Bus Pirate,but there are some use that I don't found in firmware 5.10,such as JTAG and PC Keyboard.
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby ian » Tue Mar 15, 2011 7:51 am

Firmware got too big, so we made main and "extras". Extras has PC Keyboard and some others.

JTAG terminal mode is removed, only JTAG by OPENOCD is possible now.
User avatar
ian
Crew
Crew
 
Posts: 10571
Joined: Mon Jul 06, 2009 6:14 am

Re: Is this a Bug?

Postby canghaiwuhen » Tue Mar 15, 2011 8:16 am

oh!
And how to enter the raw binary bitbang mode?
I'm trying the DIO mode~~
hehe,the guide will finished soon.
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby ian » Tue Mar 15, 2011 8:28 am

send binary value 00 20 times to enter BBIO mode.
User avatar
ian
Crew
Crew
 
Posts: 10571
Joined: Mon Jul 06, 2009 6:14 am

Re: Is this a Bug?

Postby canghaiwuhen » Tue Mar 15, 2011 8:37 am

11.jpg


22.jpg


Am I misunderstood your meaning?
Code: Select all
HiZ>00:20
WRITE: 0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here
0x00ERROR: command has no effect here

Syntax error at char 5
HiZ>
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby Sjaak » Tue Mar 15, 2011 10:46 am

You need to send 20 times 0x00 to the buspirate.

http://dangerousprototypes.com/docs/Bitbang
User avatar
Sjaak
Fellow
Fellow
 
Posts: 3027
Joined: Sun Jan 03, 2010 2:45 pm
Location: Hiero

Re: Is this a Bug?

Postby canghaiwuhen » Tue Mar 15, 2011 11:01 am

I have try to send it,but it have no result.
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Re: Is this a Bug?

Postby canghaiwuhen » Thu Mar 17, 2011 7:13 am

And I found that the BASIC script can not control then pin.
What wrong with it?
canghaiwuhen
Newbie
Newbie
 
Posts: 17
Joined: Fri Mar 11, 2011 8:50 am

Next

Return to Bus Pirate Development