All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] uart interface issues (fixed)
       [not found]   ` <517D2F6F.2050307@rempel-privat.de>
@ 2013-05-02  6:52     ` Oleksij Rempel
  2013-05-02  7:15       ` Eugene Krasnikov
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksij Rempel @ 2013-05-02  6:52 UTC (permalink / raw)
  To: ath9k-devel

Am 28.04.2013 16:17, schrieb Oleksij Rempel:
> Am 28.04.2013 13:38, schrieb Adrian Chadd:
>> .. 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.
>
>
>> 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
-------------- 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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] uart interface issues (fixed)
  2013-05-02  6:52     ` [ath9k-devel] uart interface issues (fixed) Oleksij Rempel
@ 2013-05-02  7:15       ` Eugene Krasnikov
  2013-05-02  7:20         ` Oleksij Rempel
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene Krasnikov @ 2013-05-02  7:15 UTC (permalink / raw)
  To: ath9k-devel

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 <linux@rempel-privat.de>:
> Am 28.04.2013 16:17, schrieb Oleksij Rempel:
>>
>> Am 28.04.2013 13:38, schrieb Adrian Chadd:
>>>
>>> .. 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.
>>
>>
>>> 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



-- 
Best regards,
Eugene

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] uart interface issues (fixed)
  2013-05-02  7:15       ` Eugene Krasnikov
@ 2013-05-02  7:20         ` Oleksij Rempel
  2013-05-02  7:22           ` Eugene Krasnikov
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksij Rempel @ 2013-05-02  7:20 UTC (permalink / raw)
  To: ath9k-devel

Am 02.05.2013 09:15, schrieb Eugene Krasnikov:
> 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.

> 2013/5/2 Oleksij Rempel <linux@rempel-privat.de>:
>> Am 28.04.2013 16:17, schrieb Oleksij Rempel:
>>>
>>> Am 28.04.2013 13:38, schrieb Adrian Chadd:
>>>>
>>>> .. 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.
>>>
>>>
>>>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] uart interface issues (fixed)
  2013-05-02  7:20         ` Oleksij Rempel
@ 2013-05-02  7:22           ` Eugene Krasnikov
  2013-05-02  7:29             ` Oleksij Rempel
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene Krasnikov @ 2013-05-02  7:22 UTC (permalink / raw)
  To: ath9k-devel

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 <linux@rempel-privat.de>:
> Am 02.05.2013 09:15, schrieb Eugene Krasnikov:
>
>> 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.
>
>
>> 2013/5/2 Oleksij Rempel <linux@rempel-privat.de>:
>>>
>>> Am 28.04.2013 16:17, schrieb Oleksij Rempel:
>>>>
>>>>
>>>> Am 28.04.2013 13:38, schrieb Adrian Chadd:
>>>>>
>>>>>
>>>>> .. 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.
>>>>
>>>>
>>>>> 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



-- 
Best regards,
Eugene

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ath9k-devel] uart interface issues (fixed)
  2013-05-02  7:22           ` Eugene Krasnikov
@ 2013-05-02  7:29             ` Oleksij Rempel
  0 siblings, 0 replies; 5+ messages in thread
From: Oleksij Rempel @ 2013-05-02  7:29 UTC (permalink / raw)
  To: ath9k-devel

Am 02.05.2013 09:22, schrieb Eugene Krasnikov:
> 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.

> 2013/5/2 Oleksij Rempel <linux@rempel-privat.de>:
>> Am 02.05.2013 09:15, schrieb Eugene Krasnikov:
>>
>>> 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.
>>
>>
>>> 2013/5/2 Oleksij Rempel <linux@rempel-privat.de>:
>>>>
>>>> Am 28.04.2013 16:17, schrieb Oleksij Rempel:
>>>>>
>>>>>
>>>>> Am 28.04.2013 13:38, schrieb Adrian Chadd:
>>>>>>
>>>>>>
>>>>>> .. 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.
>>>>>
>>>>>
>>>>>> 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
>
>
>


-- 
Regards,
Oleksij

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-02  7:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <517CC77B.7070007@rempel-privat.de>
     [not found] ` <CAJ-VmonMZRWe-YLW7sF5vapZwWxE+x3OR0k3KNOfHDOMM6zocg@mail.gmail.com>
     [not found]   ` <517D2F6F.2050307@rempel-privat.de>
2013-05-02  6:52     ` [ath9k-devel] uart interface issues (fixed) Oleksij Rempel
2013-05-02  7:15       ` Eugene Krasnikov
2013-05-02  7:20         ` Oleksij Rempel
2013-05-02  7:22           ` Eugene Krasnikov
2013-05-02  7:29             ` Oleksij Rempel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.