[Flashforth-devel] strange answer from UART
Brought to you by:
oh2aun
From: Thomas B. <bus...@gm...> - 2014-03-17 07:32:14
|
Dear Mikael and mailing listeners, I desperated, I got some strange signs back from the PIC. In my despair - I installed even MS Windows, to see whether my usb-2-serial adapter is broken - but the program "Hyperterminal" shows the same results. Here is my configuration: PIC18F2620 4 MHz Oscillator Link to Oszillator<http://www.reichelt.de/Oszillatoren/OSZI-4-000000/3//index.html?ACTION=3&GROUPID=3174&ARTICLE=13706&SHOW=1&OFFSET=500&> MAX232 FD-USB2Serial-Adapter The programing - process runs well with my PICKIT2. When the PIC gets power its send the same strange signs, and if I blind input "1 2 3" (to the stack) in the terminal, I got a answer - that could be the right one. --snip-- 38400 - 8 - N - 1 ¦¬¡³¸¦¯²´¨ •ް °©£±˜ Š Š‘ ¦¬¡³¸¦¯²´¨ •ް °©£±˜ Š Š‘ ¦¬¡³¨¦¯²´¸ •ް °©£‘¸ Š Š‘ ± ² ³ ± ² ³ Ÿ Š --snip-- Here I restart 3 times the PIC and input "1 2 3" and get back "± ² ³ Ÿ Š". I changed the baudrate, oszillator frequency, the oscillator selection bits - without success. I hope I do some configuration mistakes, so please help me. The schematics for my hw-configuration, the (binary) log-file of the terminal and my changed configurations-files you can find here as zip file. http://wikisend.com/download/262322/pic.zip If you need more informations, please drop me a mail. Greetings Thomas |