How to check debug message from adf_os_print()?

Oleksij Rempel linux at rempel-privat.de
Sat Jan 25 04:33:44 EST 2014


Am 25.01.2014 10:24, schrieb Matteo Danieletto:
> Hi Oleksij,
> thank you for the quickly answer.
> 
> I re-soldered the first connection because the cable was unstable 
> Sure, I attached the GND and TX-> TX.
> 
> You are right, I need to use a 3 Volt TTL/serial adapter. In my test  I
> only used a 5V serial cable and I didn’t see the debug messages.
> So, I tried using a oscilloscope and I see some square wave during the boot.
> 
> For the cable, were you talking about this
> type http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm , were’t you ?
> thanks

yes, or like this...
http://www.ebay.de/itm/USB-zu-TTL-Konverter-Adapter-Modul-PL2303HX-3V-oder-5V-/161186503008?pt=LH_DefaultDomain_77&hash=item258776d960

there are many cheap usb to ttl adapters.

> 
> best
> Matteo
> 
> On Jan 22, 2014, at 8:18 PM, Oleksij Rempel <linux at rempel-privat.de
> <mailto:linux at rempel-privat.de>> wrote:
> 
>> Am 22.01.2014 18:20, schrieb Matteo Danieletto:
>>> Thanks for the quick answer.
>>>
>>> I have just bough one ALFA AWUS036NHA to avoid some problems :)
>>> However, I am trying to enable the UART TX for my TL722N. I soldered
>>> pin 48, but I don’t have any output in minicom or screen .
>>> I modified the firmware code in more points adding
>>> ads_os_print(“something \n”) but it never occurred.
>>> The soldering is ok.
>>>
>>> I don’t know why I don’t see any output
>>
>> Do you use 3 Volt TTL/serial adapter? Did you attached GND and TX? Do
>> not forget, [chip -TX->>-RX- adapter].
>> There is no need of extra ads_os_print, There are lots of messages from
>> boot log.
>>
>>> regards,
>>> Matteo
>>> On Jan 22, 2014, at 3:14 PM, Oleksij Rempel <linux at rempel-privat.de
>>> <mailto:linux at rempel-privat.de>> wrote:
>>>
>>>> Am 22.01.2014 14:51, schrieb Matteo Danieletto:
>>>>> Thanks Oleksij,
>>>>>
>>>>> I soldered 49th how suggested in wikidevi, I modified the firmware
>>>>> adding adf_os_print.
>>>>> When I opened minicom I set upped the serial port (ttyUSB0) with
>>>>> 19200 baudrate.
>>>>>
>>>>> However I didn’t see any output. So I read the data sheet  and I
>>>>> found some different how reported in wikiDevi.
>>>>> In wikidevi the 49th pin is GPIO8 instead in data sheet is GPIO10.
>>>>> The 21st pin is the GPIO8  -General purpose and multiplexed serial
>>>>> input data from an SPI device-.
>>>>>
>>>>> BTW,I was watching the solder made by Oleksij and I recognized that
>>>>> the chipset is ar7010 and the pin was 48th pin (GPIO8)
>>>>>
>>>>> Do I solder the 21st for my a r9721?
>>>>
>>>> Here is one example:
>>>> http://wikidevi.com/w/images/0/07/ALFA_Network_AWUS036NHA_board_top_nonscan.jpg
>>>>
>>>> There are test points RXD1 (pin 49), and TXD1 (pin 48). Normally it
>>>> should be written from chips point of view. You need to use pin 48.
>>>>
>>>>
>>>> -- 
>>>> Regards,
>>>> Oleksij
>>>>
>>>
>>>
>>> _______________________________________________
>>> ath9k_htc_fw mailing list
>>> ath9k_htc_fw at lists.infradead.org
>>> <mailto:ath9k_htc_fw at lists.infradead.org>
>>> http://lists.infradead.org/mailman/listinfo/ath9k_htc_fw
>>>
>>
>>
>> -- 
>> Regards,
>> Oleksij
> 


-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/ath9k_htc_fw/attachments/20140125/d8cb9cff/attachment.sig>


More information about the ath9k_htc_fw mailing list