Search found 35 matches

by ephogy
Tue Sep 17, 2024 7:05 am
Forum: NetBurner Software
Topic: Porting code from MOD5441X to SOMRT1061
Replies: 4
Views: 2251

Re: Porting code from MOD5441X to SOMRT1061

Thanks dciliske, perfectly clear. I appreciate the explanation.
by ephogy
Mon Sep 16, 2024 9:46 am
Forum: NetBurner Software
Topic: Porting code from MOD5441X to SOMRT1061
Replies: 4
Views: 2251

Re: Porting code from MOD5441X to SOMRT1061

Hi Tom, I understand -- on the old MOD5441X, I was already copying the memory mapped flash space to a location in RAM, so it's somewhat simple. I'd just marked the end of the flash space as where I would store this extra data. I was storing to an arbitrary place in flash which was significantly high...
by ephogy
Thu Sep 12, 2024 2:46 pm
Forum: NetBurner Software
Topic: Porting code from MOD5441X to SOMRT1061
Replies: 4
Views: 2251

Porting code from MOD5441X to SOMRT1061

I saw that the calls to FlashProgram and FlashErase were failing to compile and tracked down the Hal_StorageSave and Hal_StorageRead functions. Hal_StorageSave on the MOD5441X seems to simply be a wrapper for FlashProgram and FlashErase which is great. Hal_StorageRead doesn't exist for the MOD5441X,...
by ephogy
Thu Aug 29, 2024 1:15 pm
Forum: NetBurner Software
Topic: 2.x to 3.x migration and updates
Replies: 3
Views: 3775

Re: 2.x to 3.x migration and updates

This is probably what I'm looking for. I was running through the nbupdate.cpp code and didn't see any calls before the flashing occurred. I see they are in config_server.cpp.

Thank you.
by ephogy
Wed Aug 28, 2024 9:36 am
Forum: NetBurner Software
Topic: 2.x to 3.x migration and updates
Replies: 3
Views: 3775

2.x to 3.x migration and updates

I've been migrating some MOD5414X code from 2.x to 3.x and I was using the update_shutdown_func and the update_complete_func. I can't seem to locate similar function calls in the nbupdate.cpp file. Am I missing something here, or are there plans to add these function callbacks? They're useful for cl...
by ephogy
Wed Jul 10, 2019 9:42 am
Forum: NetBurner Software
Topic: MOD54415, EFFS, DSPI, and QSPI
Replies: 2
Views: 2989

Re: MOD54415, EFFS, DSPI, and QSPI

So.. Looks like I don't need to use the IRQ code, but the interrupt driven code is about 15% faster, at least how I'm using it, than the non-interrupt driven code, which should (?) be faster. MicroSD card access has fairly low priority in my application so this might be why the interrupt driven driv...
by ephogy
Wed Jul 10, 2019 8:51 am
Forum: NetBurner Software
Topic: MOD54415, EFFS, DSPI, and QSPI
Replies: 2
Views: 2989

Re: MOD54415, EFFS, DSPI, and QSPI

I can't speak for 2.7.5 as I'm using 2.8.7, but yes? SPI0 is not brought out to J1/J2 other than CS3. I'm not sure whether you need to enable the interrupt driver for it if you want to use SPI1-3. Uncomment #define SD_IRQ_QSPI in MOD5441X\system\mmc_mcf.cpp if you do? In porting my MOD5272 code to M...
by ephogy
Mon Mar 11, 2019 6:44 am
Forum: NetBurner Hardware
Topic: MOD54415 PA0 and PA1
Replies: 2
Views: 4368

Re: MOD54415 PA0 and PA1

Seems like it might have been a race condition on my side. The MOD5441X code uses the SetPinIrq on IRQ2 which has a priority of 0x2200 the MOD5272 code assigned the interrupt handler, and had the priority set to 0x2700. I ripped the 'interrupt' handler code out and placed it into a task as well, whi...
by ephogy
Fri Mar 08, 2019 11:27 am
Forum: NetBurner Software
Topic: OSTaskCreate Return Values
Replies: 12
Views: 11571

Re: OSTaskCreate Return Values

There is a way. #include <taskmon.h> make a call to EnableTaskMonitor() and run \nburn\pcbin\TaskScan.exe There are number of system tasks that are created depending on what you use. Idle Task (I don't know if this counts as one of the tasks or not) Main Task (UserMain()) TCPD Task IP Task Enet Task...
by ephogy
Fri Mar 08, 2019 7:40 am
Forum: NetBurner Hardware
Topic: MOD54415 PA0 and PA1
Replies: 2
Views: 4368

MOD54415 PA0 and PA1

I'm migrating an existing project from the MOD5272 to the MOD54415. Initially I hacked on of our existing PCBs to reroute the pins that I needed into the correct locations. I did this for about 95% of the pins and then had a little test PCB made up that we could plug in. for the last 2 pins, I arbit...