about memory - i need more time to check that, .map file is confusing for
me right now and i don't know how to check it and be 100% sure i'am right
:) must read some tutorials first :)
for uart i tested like 3 approaches found on internet
1 interrupt based is from here
https://code.google.com/r/etiennebesancon-freertos-on-xmega/source/browse/Framework/drivers/usart_driver_RTOS.h?name=stdout_task_dev&r=4136176e4954a2af400fe042719c0fe5f65883f2
2 no interrupts, function names like in above examples, pretty unique i
think usartBufferPutString(), PrintChar(), nothing like send()
3 right now i'am using printf() for every uart message (prinf linked to
function PrintChar) no interrupts, so there are basicly 3 function
UsartBuffer * usartBufferInitialize(USART_t * usart, Baudrate_enum baudrate
,char bufferSize)
static int PrintChar(char c, FILE *stream)
int uart_getchar(FILE *stream)
tested on 9600 and 115200 baud rate
lwip_debug is disabled in lwipopts.h
"?" is showing upon initializing function
without lwip files in makefile every approach works fine
2015-07-28 10:21 GMT+02:00 Grzegorz Niemirowski [via lwIP] <
[email protected]>:
> Damian, could you provide a piece of code you use for accessing UART? Do
> you use functions named like send()? Maybe you have LWIP_COMPAT_SOCKETS
> defined and functions redefined?
> #define send(a,b,c,d) lwip_send(a,b,c,d)
>
> Best regards,
> Grzegorz Niemirowski
>
> On Tue, Jul 28, 2015 at 10:06 AM, Damian Martyniuk <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=24732&i=0>> wrote:
>
>> hi, hmm i don't see any messages about memory exceeding the resources
>> available or something like "memory could not be "Written"" - but i never
>> looked at map file so i could be wrong (following this
>> http://www.codeproject.com/Articles/3472/Finding-crash-information-using-the-MAP-file)
>> - what should i be searching for ?
>>
>> nothing seems wrong for my level of knowledge.
>> for me it's wierd that only uart is not working, freertos tasks are fine,
>> application is working - the only thing is that i don't get messages to my
>> terminal.
>> maybe i should buy external crystal ? i'am working on 32Mhz internal
>> xmega clock right now.
>>
>> 2015-07-28 9:18 GMT+02:00 Adam Fullerton <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=24732&i=1>>:
>>
>>> Hi,
>>>
>>> Have you had a look at the linker map file? My guess is that the
>>> additional memory requirements has exceeded the resources available.
>>>
>>> Cheers,
>>>
>>> Adam.
>>>
>>> On 27/07/2015 07:33, unnamed wrote:
>>>
>>>> hi, i'am trying to port FreeRTOS + lwip to atxmega128a3u and almost
>>>> every
>>>> thing is working fine, only my uart wont fire up when i compile my
>>>> project
>>>> with lwip files included, what can be the cause of this ? Any help
>>>> would be
>>>> appreciated.
>>>>
>>>> without lwip files uart is working great
>>>> with lwip files i just get one character "?" upon uart init function and
>>>> nothing else, tasks are still working fine.
>>>>
>>>> tried uart with and without interrupts
>>>>
>>>> lwip is not initialized in my project, only compiled
>>>>
>>>> i'am using
>>>> microchip: atxmega128a3u on internal 32mhz clock
>>>> freeRTOS 8.2
>>>> lwip 1.4.1
>>>>
>>>> any help where should i search for erros ? right now i can't use my
>>>> debugger
>>>> becouse there is something wrong with amtel-ice+osx+avrdude so i'am
>>>> stuck...
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://lwip.100.n7.nabble.com/freertos-lwip-no-uart-tp24724.html
>>>> Sent from the lwip-users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> lwip-users mailing list
>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=24732&i=2>
>>>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> lwip-users mailing list
>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=24732&i=3>
>>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>>>
>>
>>
>> _______________________________________________
>> lwip-users mailing list
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=24732&i=4>
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>>
>
>
> _______________________________________________
> lwip-users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=24732&i=5>
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://lwip.100.n7.nabble.com/freertos-lwip-no-uart-tp24724p24732.html
> To unsubscribe from freertos + lwip = no uart ?, click here
> <http://lwip.100.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=24724&code=ZGFtaWFuLm1hcnR5bml1a0BnbWFpbC5jb218MjQ3MjR8NjEwMDc0NjU1>
> .
> NAML
> <http://lwip.100.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://lwip.100.n7.nabble.com/freertos-lwip-no-uart-tp24724p24733.html
Sent from the lwip-users mailing list archive at Nabble.com.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users