Skip to contentSkip to conversation

uart interface issues (fixed)

ath9k-devel Oleksij Rempel 2 participants 5 messages May 2, 2013 3 messages not in the archive

lore
Share & tools
lore
#3 lore raw
In reply to a message not in the archive

Am 28.04.2013 16:17, schrieb Oleksij Rempel:

Quoted 11 lines

Am 28.04.2013 13:38, schrieb Adrian Chadd:

Quoted 1 line

.. is it triggering BREAK interrupts or something?

I don't know, there is no serial output on this stage. JTAG may help if the protocol is some how similar to EJTAG. Are there any documentation about Xtensa dubug interface ;)?
I will need to dig in it, but not this week.

Quoted 2 lines

That may be something that the boot ROM code interprets as a magical "don't start" sequence or something.

So, this issue is fixed now.

ttl TX >------[2K]--------o RX pin on AR7010

                      |----[4K pull up]---< 3,3V

In attachment are pictures from my setup ;)

Signature · 16 lines
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image001-5.jpg
Type: image/jpeg
Size: 378799 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130502/df85317a/attachment-0002.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image001-6.jpg
Type: image/jpeg
Size: 365451 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130502/df85317a/attachment-0003.jpg 
#4 lore raw

Hi Oleksij,

Have you tried remote debugging? Or it's only about garbing logs from the chip. Have you tried to send commands to the chip?

2013/5/2 Oleksij Rempel <[email protected]>:

Quoted 27 lines

Am 28.04.2013 16:17, schrieb Oleksij Rempel:

Quoted 14 lines

Am 28.04.2013 13:38, schrieb Adrian Chadd:

Quoted 2 lines

.. is it triggering BREAK interrupts or something?

I don't know, there is no serial output on this stage. JTAG may help if the protocol is some how similar to EJTAG. Are there any documentation about Xtensa dubug interface ;)?
I will need to dig in it, but not this week.

Quoted 2 lines

That may be something that the boot ROM code interprets as a magical "don't start" sequence or something.

So, this issue is fixed now.

ttl TX >------[2K]--------o RX pin on AR7010

                     |----[4K pull up]---< 3,3V

In attachment are pictures from my setup ;)

--
Regards,
Oleksij

Signature · 2 lines
Best regards,
Eugene
#5 lore raw

Am 02.05.2013 09:15, schrieb Eugene Krasnikov:

Quoted 4 lines

Hi Oleksij,

Have you tried remote debugging? Or it's only about garbing logs from the chip. Have you tried to send commands to the chip?

Yes, it works. You need this resistors to make chip start with ttl adapter attached. Without them this chip may not start.

Quoted 31 lines

2013/5/2 Oleksij Rempel <[email protected]>:

Quoted 27 lines

Am 28.04.2013 16:17, schrieb Oleksij Rempel:

Quoted 14 lines

Am 28.04.2013 13:38, schrieb Adrian Chadd:

Quoted 2 lines

.. is it triggering BREAK interrupts or something?

I don't know, there is no serial output on this stage. JTAG may help if the protocol is some how similar to EJTAG. Are there any documentation about Xtensa dubug interface ;)?
I will need to dig in it, but not this week.

Quoted 2 lines

That may be something that the boot ROM code interprets as a magical "don't start" sequence or something.

So, this issue is fixed now.

ttl TX >------[2K]--------o RX pin on AR7010

                      |----[4K pull up]---< 3,3V

In attachment are pictures from my setup ;)

--
Regards,
Oleksij

Signature · 2 lines
Regards,
Oleksij
#6 lore raw

What kind of commands did you try to send? I will try the same with my dongle and update you if that works or not;)

2013/5/2 Oleksij Rempel <[email protected]>:

Quoted 54 lines

Am 02.05.2013 09:15, schrieb Eugene Krasnikov:

Quoted 4 lines

Hi Oleksij,

Have you tried remote debugging? Or it's only about garbing logs from the chip. Have you tried to send commands to the chip?

Yes, it works. You need this resistors to make chip start with ttl adapter attached. Without them this chip may not start.

Quoted 37 lines

2013/5/2 Oleksij Rempel <[email protected]>:

Quoted 32 lines

Am 28.04.2013 16:17, schrieb Oleksij Rempel:

Quoted 5 lines

Am 28.04.2013 13:38, schrieb Adrian Chadd:

Quoted 2 lines
Quoted 12 lines
Quoted 1 line

.. is it triggering BREAK interrupts or something?

I don't know, there is no serial output on this stage. JTAG may help if the protocol is some how similar to EJTAG. Are there any documentation about Xtensa dubug interface ;)?
I will need to dig in it, but not this week.

Quoted 2 lines

That may be something that the boot ROM code interprets as a magical "don't start" sequence or something.

So, this issue is fixed now.

ttl TX >------[2K]--------o RX pin on AR7010

                      |----[4K pull up]---< 3,3V

In attachment are pictures from my setup ;)

--
Regards,
Oleksij

--
Regards,
Oleksij

Signature · 2 lines
Best regards,
Eugene
#7 lore raw

Am 02.05.2013 09:22, schrieb Eugene Krasnikov:

Quoted 2 lines

What kind of commands did you try to send? I will try the same with my dongle and update you if that works or not;)

all command are here:
./target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c

working commands:
help
info ram
wdt rst (restart system)
wdt off (turn off watchdog)
wdt on (...)
memdmp 50000 50010 (memdump of 0x50000 0x50010 area)

be careful with memdmp command. If watchdog enabled i can be triggered on memdmp, so disable it. If you hit some prottected memory area, system on chip will oops.

Quoted 58 lines

2013/5/2 Oleksij Rempel <[email protected]>:

Quoted 54 lines

Am 02.05.2013 09:15, schrieb Eugene Krasnikov:

Quoted 4 lines

Hi Oleksij,

Have you tried remote debugging? Or it's only about garbing logs from the chip. Have you tried to send commands to the chip?

Yes, it works. You need this resistors to make chip start with ttl adapter attached. Without them this chip may not start.

Quoted 37 lines

2013/5/2 Oleksij Rempel <[email protected]>:

Quoted 32 lines

Am 28.04.2013 16:17, schrieb Oleksij Rempel:

Quoted 5 lines

Am 28.04.2013 13:38, schrieb Adrian Chadd:

Quoted 2 lines
Quoted 12 lines
Quoted 1 line

.. is it triggering BREAK interrupts or something?

I don't know, there is no serial output on this stage. JTAG may help if the protocol is some how similar to EJTAG. Are there any documentation about Xtensa dubug interface ;)?
I will need to dig in it, but not this week.

Quoted 2 lines

That may be something that the boot ROM code interprets as a magical "don't start" sequence or something.

So, this issue is fixed now.

ttl TX >------[2K]--------o RX pin on AR7010

                       |----[4K pull up]---< 3,3V

In attachment are pictures from my setup ;)

--
Regards,
Oleksij

--
Regards,
Oleksij

Signature · 2 lines
Regards,
Oleksij