Search found 541 matches

by TomNB
Mon Feb 12, 2024 10:04 am
Forum: NetBurner Software
Topic: Ramdisk
Replies: 14
Views: 592

Re: Ramdisk

Hello, correct, the file system needs space for the file system management. That is why it is less. Just like any hard drive you would see on a PC. In cardtypes.h: #define EXT_FLASH_DRV_NUM (F_RAM_DRIVE0), so it should work based on what I see in the FTP example. Is that what you are running with no...
by TomNB
Wed Feb 07, 2024 3:30 pm
Forum: NetBurner Software
Topic: Ramdisk
Replies: 14
Views: 592

Re: Ramdisk

Ah, I see you answered that already, sorry. In RamMinimal that is our fault. The RAM drive was added as an option to the flash utilities, so what you see on the serial port is incorrect. The stats are for the RAM drive. Do they match the size you set? You can see the serial printout code in FileSyst...
by TomNB
Wed Feb 07, 2024 3:27 pm
Forum: NetBurner Software
Topic: Ramdisk
Replies: 14
Views: 592

Re: Ramdisk

Are you seeing this in the RamMinimal example?

Or, are you saying you have both flash and ram drives in your app?
by TomNB
Tue Feb 06, 2024 6:05 pm
Forum: NetBurner Software
Topic: Ramdisk
Replies: 14
Views: 592

Re: Ramdisk

Just one more point, the most commonly used refers to FAT12, not 50k. FAT12 goes up to 2.8M in size.
by TomNB
Tue Feb 06, 2024 6:04 pm
Forum: NetBurner Software
Topic: Ramdisk
Replies: 14
Views: 592

Re: Ramdisk

Thanks for that. Starting with the unmodified RamMinimal example, it is only a 1 line change. In ramdrv_mcf.cpp, set the drive size by editing the line: const uint32_t RAMDRV0_SIZE = 0x80000; // Adjust size of ram drive here The above 0x80000 is a 512k drive. 0x40000 would be a 256k drive. The comme...
by TomNB
Tue Feb 06, 2024 12:46 pm
Forum: NetBurner Software
Topic: Ramdisk
Replies: 14
Views: 592

Re: Ramdisk

What platform, and how much physical ram is on it? Also, when you build your project, what is the ram usage? Any dynamic allocations? Which example are you using? Where do you see 2.8MB in the documentation? Which documentation is unclear on the mount and format functions? Always need this level of ...
by TomNB
Mon Feb 05, 2024 10:10 am
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 945

Re: File descriptor on read becoming invalid.

Hi Rob,

Glad its working, and thank you for the update!
by TomNB
Sun Feb 04, 2024 9:49 am
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 945

Re: File descriptor on read becoming invalid.

Hello Rob,

We see that you already posted your tools rev and platform. We will use that.
by TomNB
Fri Feb 02, 2024 10:12 am
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 945

Re: File descriptor on read becoming invalid.

Hello,

Tools revision and platform?
by TomNB
Wed Dec 20, 2023 8:57 am
Forum: NetBurner Software
Topic: Arrows in the icons of files that I just added
Replies: 1
Views: 912

Re: Arrows in the icons of files that I just added

Hello Tim, The arrow in windows usually means a shortcut. Eclipse is just reporting the icon per the type of thing you put in, its not something it is interpreting. So to me that looks like what you dropped in is a windows shortcut to a gif, not the gif itself. Just my first guess. To fix it, delete...