Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread Lee, Lup Yuen
Thanks Ken! Yep you read my mind, I'll write about NuttX Apps in the next article: (1) What's inside the simplest "Hello World" app (2) How NuttX Apps call NuttX Kernel with "ecall" (3) Bundling the NuttX Apps into the Initial RAM Disk (initrd) for Ox64 BL808 SBC. (We'll append the initrd to the N

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread ken . dickey
Lup, Another great article! One suggestion. In section 10 "Swap the SATP Register" You mention: "Huh? Our Applications can meddle with the I/O Memory? Nope they can’t, because the “U” User Permission is denied. Therefore we’re all safe and well protected! " I may have missed the referenc

Re: AVR32 on NuttX

2023-11-19 Thread Raman Gopalan
Dear Alan, > Did you setup your serial console terminal to 57600 ? Normally NuttX uses > 115200, but for avr32dev1 the default is this value. Yes, for sure. I checked .config. It was exactly 57600. Also on `minicom'. > Do you have the AVR32DEV1 schematic? I didn't find it. This has been a probl

Re: AVR32 on NuttX

2023-11-19 Thread Alan C. Assis
Hi Raman, Did you setup your serial console terminal to 57600 ? Normally NuttX uses 115200, but for avr32dev1 the default is this value. Do you have the AVR32DEV1 schematic? I didn't find it. Looking the NuttX source code, the console is using USART1 PA24 as RXD and PA17 as TXD. Best Regards,

Re: AVR32 on NuttX

2023-11-19 Thread Raman Gopalan
> Question: did you cloned nuttx-apps as apps/ in the same directory you have > cloned nuttx ? For sure Alan. This is exactly how it is on both my machines. > NuttX "depends on" apps/ to compile (it doesn't depend, but the build system > depends/expects to find it there). Fully understand. Yes,

Re: AVR32 on NuttX

2023-11-19 Thread Raman Gopalan
Dear All, I just connected the FTDI to the MCUZone at32uc3b0256 breakout. Here are the connections: I used my Fluke 115 to trace out the lines. I am sure they work. 1) GND (FTDI) to GND (development board) 2) RX (FTDI) to J2, pin 10. 3) TX (FTDI) to J2, pin 7. I don't see the nsh shell yet. It i

Re: AVR32 on NuttX

2023-11-19 Thread Alan C. Assis
Hi Greg, AFAIK, Mr. Zou (CC here) fixed the Windows/Cygwin build few months ago. We just need to add it in our CI to avoid it breaks again in the feature. Brennan/Petro/Xiang, do you have a machine to add the Windows CI ? Best Regards, Alan On 11/18/23, Gregory Nutt wrote: > AFAIK, the Cygwi

Re: AVR32 on NuttX

2023-11-19 Thread Alan C. Assis
Hi Raman, On 11/19/23, Raman Gopalan wrote: > Dear Alan, Dear Gregory, Greetings! > > Hello Kevin and Zou Boan! > > Many thanks for your suggestions. I will write in detail in a bit but > before, I was too excited about Alan's suggestion. > >> Other option could be extend the CMake support to AVR

Re: AVR32 on NuttX

2023-11-19 Thread Alan C. Assis
Hi Raman, On 11/19/23, Raman Gopalan wrote: > Dear All, > > I just plugged in the Atmel ICE programmer. I am currently working with my > Ubuntu GNU/Linux machine. Here are the version details: > > raman@foo:~/Skullets$ uname -a > Linux foo 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC M

Re: AVR32 on NuttX

2023-11-19 Thread Raman Gopalan
Dear All, >> I read [2]. It wasn't very helpful in my case. Could the problem with ICE be >> about [2]? Sorry, just an observation: I just plugged-in my FTDI breakout. It works fine. So, I conclude [2] works fine. Here is the log of dmesg. [16504.718633] ftdi_sio 1-2.3:1.0: FTDI USB Serial Devic

Re: AVR32 on NuttX

2023-11-19 Thread Raman Gopalan
Dear All, I just plugged in the Atmel ICE programmer. I am currently working with my Ubuntu GNU/Linux machine. Here are the version details: raman@foo:~/Skullets$ uname -a Linux foo 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux I