Re: OpenFPGALoader

2023-07-13 Thread Simon Filgis
Hi Alan, yes, that's ispVM. The original from Lattice can be found in the installation folder of Lattice Diamond SW. usr/local/programmer/diamond/3.12/embedded_source/vmembedded/sourcecode/ispvme/ That is one way for Lattice! -- Hard- and Softwaredevelopment Consultant Ingenieurbüro-Filgis USt-I

Re: OpenFPGALoader

2023-07-13 Thread Alan C. Assis
Hi Simon, ispVM is pure C: https://github.com/ganehag/br-ts7500/blob/master/ts7500utils/ispvm.c Could be easier to get working on NuttX than openFPGALoader, although to latter will open doors to many vendors! BR, Alan On 7/13/23, Simon Filgis wrote: > LFE5U-25F-8BG381C > > with attached SPI F

Re: [Article] Boot NuttX from Network with U-Boot and TFTP

2023-07-13 Thread Alan C. Assis
On 7/13/23, Nathan Hartman wrote: > On Thu, Jul 13, 2023 at 12:24 PM Gregory Nutt wrote: >> >> >> > Maybe you could that a look in the minnsh PoC, it was running on MCU >> > with less than 16KB Flash and 8KB RAM. As you can see in the image it >> > is using less than 2KB RAM: >> >> To get to the

Re: OpenFPGALoader

2023-07-13 Thread Simon Filgis
LFE5U-25F-8BG381C with attached SPI Flash: AT25SF161B-MHB Lattice Diamond Deployment tool generates SVF or VME files... I'm just wondering if I should go for something more generic than the Lattice ispVM (quite old piece of code) Simon -- Hard- and Softwaredevelopment Consultant Ingenieurbüro-

Re: [Article] Boot NuttX from Network with U-Boot and TFTP

2023-07-13 Thread Nathan Hartman
On Thu, Jul 13, 2023 at 12:24 PM Gregory Nutt wrote: > > > > Maybe you could that a look in the minnsh PoC, it was running on MCU > > with less than 16KB Flash and 8KB RAM. As you can see in the image it > > is using less than 2KB RAM: > > To get to the minimal size, that configuration also depend

Re: OpenFPGALoader

2023-07-13 Thread Frank-Christian Kruegel
Am 13.07.2023 um 18:52 schrieb Simon Filgis: Indeed the ICE fpgas are loaded by SPI. Interesting. But mine is loaded by JTAG. What FPGA type do you use EXACTLY? Frank-Christian

Re: OpenFPGALoader

2023-07-13 Thread Simon Filgis
Resending without attachment... Simon Filgis schrieb am Do., 13. Juli 2023, 18:38: > Hi Alan, > > Indeed the ICE fpgas are loaded by SPI. Interesting. > > But mine is loaded by JTAG. > > Every FPGA vendor has a "player" to bitbang their svf out of the > microcontroller. > > OpenFPGALoader is the

Re: [Article] Boot NuttX from Network with U-Boot and TFTP

2023-07-13 Thread Gregory Nutt
Maybe you could that a look in the minnsh PoC, it was running on MCU with less than 16KB Flash and 8KB RAM. As you can see in the image it is using less than 2KB RAM: To get to the minimal size, that configuration also depended on the ability to disabled file system support (and, in the long

Re: [Article] Boot NuttX from Network with U-Boot and TFTP

2023-07-13 Thread Alan C. Assis
Hi Nathan, On 7/13/23, Nathan Hartman wrote: > Hi Lup, > > Excellent article, as always! > > On Thu, Jul 13, 2023 at 10:38 AM Alan C. Assis wrote: >> In NuttX case it is easier because we can do it without the bootloader! > > There was a recent discussion about using a minimal build of NuttX > i

Re: OpenFPGALoader

2023-07-13 Thread Alan C. Assis
Hi Simon, I didn't look the code, but openFPGALoader is implemented in C++ and I don't know if they are using features that don't fit well to microcontrollers. So, the only way to confirming if it works is trying to compile and run it. If you only need to use FPGAs from Lattice, maybe you can tr

Re: OpenFPGALoader

2023-07-13 Thread Simon Filgis
Sorry, I have a typo in the subject. Not FLASHLoader but FPGALoader. https://github.com/trabucayre/openFPGALoader The Segger Flashloader has been used by me already. Funny piece of software but not for FPGA... -- Ingenieurbüro-Filgis USt-IdNr.: DE305343278 -- sent by mobile phone Xiang Xiao s

Re: OpenFLASHLoader

2023-07-13 Thread Xiang Xiao
If you are using JLINK, you may implement a general flash programer by reusing NuttX flash driver: https://wiki.segger.com/SEGGER_Flash_Loader On Thu, Jul 13, 2023 at 10:51 PM Simon Filgis < si...@ingenieurbuero-filgis.de> wrote: > Dear all, > > I need to load an FPGA bitstream via JTAG bitbang.

Re: [Article] Boot NuttX from Network with U-Boot and TFTP

2023-07-13 Thread Nathan Hartman
Hi Lup, Excellent article, as always! On Thu, Jul 13, 2023 at 10:38 AM Alan C. Assis wrote: > In NuttX case it is easier because we can do it without the bootloader! There was a recent discussion about using a minimal build of NuttX itself as a bootloader, which would load a more full-featured

OpenFLASHLoader

2023-07-13 Thread Simon Filgis
Dear all, I need to load an FPGA bitstream via JTAG bitbang. In my case the straight way would be to use the lattice embeddedvm (ispVM) but I'm wondering if there is something more generic out there. Like OpenFPGALoader. What do you think? Regards, Simon -- Ingenieurbüro-Filgis USt-IdNr.: DE3

Re: [Article] Boot NuttX from Network with U-Boot and TFTP

2023-07-13 Thread Alan C. Assis
Hi Lup, That is very nice! I never tested TFTP on NuttX, but I used to boot Linux/uCLinux using it, downloading the kernel image inside the bootloader: https://acassis.wordpress.com/2009/03/19/solved-dbug-bootloader-network-problem/ In NuttX case it is easier because we can do it without the boo