Picon

OpenOCD support for the SAME70 Xplained [1 Attachment]

Quick patch with documentation and configs for using OpenOCD to flash the SAME70 Xplained board.

Note: I would have made a pull request:

remote: Unauthorized
fatal: Authentication failed for 'https://bitbucket.org/nuttx/boards.git/'

I don't know if my user "jpcarballo" has to be authorized to push a branch to this repository, or if it is something funny with git. (When I cloned the repo and did 'git init' my bitbucket user didn't had a password yet, I added it later).


__._,_.___

Attachment(s) from Jose Pablo Carballo | View attachments on the web

1 of 1 File(s)

Posted by: Jose Pablo Carballo <carballojose-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>



__,_._,___
Picon

building Nxwidget

Hello Greg.


I tried simulating graphics related examples (nximage, nxlines etc) on linux  environment.

It worked as expected. 

I also tried building Nxwidgets for nsh2 configuration as suggested in the document.

But I am getting errors. I tried to fix some, but it kept coming one after another.

Has anyone tried building Nxwidgets ? 


Also Is there any other framework which has been successfully ported on nuttx like (QT or GTK may be) ?


Any leads will be appreciated. 

Thanks







__._,_.___
Posted by: rohitsaraf733-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

cc3000 driver

Hi,

I'm writing a driver for a WiFi module and using the NuttX CC3000 driver as a reference. I have a question about the following function in the CC3000 upper-half driver:

static int cc3000_devtake(FAR struct cc3000_dev_s *priv)
{
  int rv;

  /* Take the semaphore (perhaps waiting) */

  while ((rv = sem_wait(&priv->devsem)) != 0)
    {
      /* The only case that an error should occur here is if the wait was awakened
       * by a signal.
       */

      DEBUGASSERT(rv == OK || errno == EINTR);
    }

  return rv;
}

By construction, it can either return 0 or diverge. It cannot return a non-zero value because that wouldn't satisfy the while loop termination condition.

However, every time this function is used in cc3000.c, the return value is tested for an error condition. Clearly, if the return value is constant 0, the error test never holds.

Am I missing something here? Or should cc3000_devtake() be modified to return on EINTR as well?

--Vladimir


__._,_.___
Posted by: Vladimir Komendantskiy <komendantsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>



__,_._,___
Picon

STM32L Series

Hello
Due to current restrictions I wanted to exchange the currently used STM32F401RE with a STM32L476RE. Unfortunately this processor is not available in the current list. How much effort is it to add a new model?
So far I did install NuttX on 2 different micros and also made the configurations. I never really worked on more fundamental things like adding new stuff to the configurations.

Thx for all the answers




__._,_.___
Posted by: fabian.byland-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

Your STM32F4 enumeration question

Hi Neil,

Are you testing on Linux?  If so then be aware that the port enumeration 
process throws data at the port when it first comes up. I don't think 
that is your problem here, but it does serve to complicate matters. It 
throws DTR up and down a few times over about 5 seconds, which is the 
same timeframe as your problem.

Regards

DAVE

------------------------------------
Posted by: Dave Marples <dave@...>
------------------------------------

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nuttx/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/nuttx/join
    (Yahoo! ID required)

<*> To change settings via email:
    nuttx-digest@... 
    nuttx-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    nuttx-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Picon

Nuttx and the Freescale K70

Hi All,


Simple question.


I wonder if anybody is using Nuttx with the freescale K70 micro ?


Regards,

Andrew



__._,_.___
Posted by: andrewtholt60-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

PIC32 port using PIC32C compiler

Has anyone ported the PIC32MX port to the PIC32C compiler rather then the XC32 compiler ?

I downloaded the latest version of Nuttx, but I have the PIC32C compiler.

If this older compiler is no longer being used, can anyone point me to any sites that can help me back port the code.

Thanks

Don

__._,_.___
Posted by: donhamilton2002-/E1597aS9LQAvxtiuMwx3w@public.gmane.org



__,_._,___
Picon

State of LPC4330 port?

Folks,

Can someone let me know what the state of the LPC4330 port (and 
specifically the LPC4330-xplorer) actually is? I've just taken the lid 
off it to do some work on expanding it but there seems to be more there 
already than I was expecting or is reflected in the README (e.g. the SPI 
actually compiles - no idea if it works or not yet!).

Regards

DAVE

------------------------------------
Posted by: Dave Marples <dave@...>
------------------------------------

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nuttx/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/nuttx/join
    (Yahoo! ID required)

<*> To change settings via email:
    nuttx-digest@... 
    nuttx-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    nuttx-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Picon

Fwd: Nuttx build with arm-none-eabi tool chain

 

I just read from website that build with arm-none-eabi also works fine.

http://www.nuttx.org/doku.php?id=wiki:howtos:stm32f4discovery_unix

 

Thanks.

 

------- Original Message -------

Sender : BenixSamuelVincent Theogaraj<b.theogaraj-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Senior Engineer/IoT Lab./Samsung Electronics

Date : Feb 02, 2016 11:26 (GMT+09:00)

Title : Nuttx build with arm-none-eabi tool chain

 

 

Currently, Nuttx build with arm-eabi tool chain for STM32f4discovery works fine.

Before I try with arm-none-eabi, would like to hear if anybody has tried & if any issues.

 

Regards,

bs

 

 

 



__._,_.___
Posted by: BenixSamuelVincent Theogaraj <b.theogaraj-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>



__,_._,___
Picon

Nuttx build with arm-none-eabi tool chain

 

Currently, Nuttx build with arm-eabi tool chain for STM32f4discovery works fine.

Before I try with arm-none-eabi, would like to hear if anybody has tried & if any issues.

 

Regards,

bs

 



__._,_.___
Posted by: BenixSamuelVincent Theogaraj <b.theogaraj-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>



__,_._,___
Picon

stm32l4 and possibly others: ostest problems with debug output

Hello,

At first I was very afraid: ostest was completely broken.

Then I disabled low-level debug of memory manager, scheduler, heap and interrupt.

And it worked!

Then I decided to understand that.

By enabling only Heap debug, no problem.

By enabling only Interrupt debug, no problem either.

By enabling only memory manager debug, I get a a hardfault in
up_blocktask.c:164. This happens after:

user_main: mutex test
Initializing mutex
Starting thread 1
mm_malloc: Allocated 20006570, size 240
mm_malloc: Allocated 20up_hardfault: PANIC!!!
Then by asking to put a breakpoint at the address in R14, gdb kindly tells me
that the problem is armv7-m/up_blocktask:164

By enabling only scheduler debug, I get various weird corruption of serial
output, it is char-by-char oovveerrllaappppeedd, then a system lock but no
evident hardfault. halting the target from openOCD shows it is busy with memory
management affairs, it seems stuck in a loop. I did not look in this further
yet. The last "coherent" messages are:

user_main: cancel test
cancel_test: Test 1: Normal Cancelation
cancel_test: Starting thread
start_thread: Initializing mutex
pthread_mutex_init: mutex=0x20xxx attr=0x0
pthread_mutex_init: Returning 0
start_thread: initializing cond
pthread_cond_init: cond=0x20xxx attr=0x0
pthread_cond_init: Returning up_reprioritize_rtr: TCB=20xxxx PRI=100
0
pthread_attr_init: attr=0x20xxx
pthread_attr_init: Returning 0
pthread_attr_setstacksize: attr=0x20xxx stacksize=8192
pthread_attr_setstacksize: Returning 0
start_thread: Starting thread
thread_waiter: Taking mutex
pstart_thread: Yielding
tcancel_test: Canceling thread
hprteharde_amdu_tceoxm_plloectke:j omiunt:e xp=i0dx=21000 0e1x0ift8_

output is now interleaved, I still can decode:

h r e a d _ m u t e x _ l o c k :   m u t e x = 0 x 2 0 0 0 1 0 f 8
 p t h r e a d _ c o m p l e t e j o i n :   p i d = 1 0   e x i t _

I dont know why output now proceed byte-per-byte.

After a bunch of mangling the following debug is readable:

hthread_waiter: Starting wait for condition

Then another mangled line and nothing more

My understanding is that intense debug output has a bad influence on some
timing-critical system behaviour.

Is it a bug in my port or did you observe such weirdness in other boards?

-- 
S├ębastien Lorquet

------------------------------------
Posted by: Sebastien Lorquet <sebastien@...>
------------------------------------

------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nuttx/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/nuttx/join
    (Yahoo! ID required)

<*> To change settings via email:
    nuttx-digest@... 
    nuttx-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    nuttx-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/


Gmane