How to check debug message from adf_os_print()?

Xiaoyi Liu eric.alluse at gmail.com
Wed Jan 22 13:48:15 EST 2014


Sorry for my late response. Thank you so much for the answers.

It seems that I'll need some extra devices to extra the debug message.
I googled serial console, and there are many different kinds of such
devices. Could anyone suggest a model that would work with the
TL_WN821N USB adapter? Thanks!

regards,
eric

On Wed, Jan 22, 2014 at 12:20 PM, Matteo Danieletto
<matteo.danieletto at gmail.com> wrote:
> 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
>
>
> regards,
> Matteo
> On Jan 22, 2014, at 3:14 PM, Oleksij Rempel <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
>>
>



More information about the ath9k_htc_fw mailing list