Search found 79 matches

by woodsb
Wed May 15, 2019 11:22 pm
Forum: Q&A
Topic: size of flashed program
Replies: 0
Views: 9610

size of flashed program

I would like to flash a program and explicitly set the boot partition size in order to use the remainder of flash as a data partition. Is there a simple way to determine the minimum boot partition size that is large enough for my program? I have already flashed my program and read back all the flash...
by woodsb
Wed May 08, 2019 9:32 pm
Forum: Q&A
Topic: basics of flash usage?
Replies: 0
Views: 9293

basics of flash usage?

Hello: I have been experimenting with flash usage on a custom board based on the XUF216-512-TQ128 device. The board has developed some flaky behavior and I am wondering if I violated some constraint with regard to using the flash. I am untrained in embedded programming so hope someone has some time ...
by woodsb
Wed May 08, 2019 8:11 pm
Forum: Development Tools and Programming
Topic: sigtrap, no breakpoints, no errors
Replies: 0
Views: 8974

sigtrap, no breakpoints, no errors

Hello: I have been working for months with a custom board based on the XUF216-512-TQ128 device and it has suddenly started acting strangely. I've read through many posts with similar problems (some details below), leading me to think I have some kind of hardware problem. But, since the hardware was ...
by woodsb
Sat Feb 16, 2019 4:27 pm
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Re: Revisit: Xflash failed to compile with custom loader

Hello RedDave, I was finally able to simultaneously xflash two programs and data, with, on power-up, one program run with one value in low xlfash data location, other run if different value. The programs themselves also read and write from flash data pages. Is this what you are asking about? I have ...
by woodsb
Fri Nov 02, 2018 5:43 pm
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Re: Revisit: Xflash failed to compile with custom loader

I now have the custom loader working with the "readFlashDataPage" command. It does indeed appear my using the quadflash library was my basic error. I am still not quite sure of the format of the output from the readFlashDataPage, but feel I am over the primary hurdle of getting the custom ...
by woodsb
Wed Oct 31, 2018 3:12 pm
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Re: Revisit: Xflash failed to compile with custom loader

Thanks for the link and suggestion. I haven't checked this currently, but do note that my declarations match those in the quadflash.h API. What I'll check next is changing the flash call based on some info in some other threads I just discovered (e.g., http://www.xcore.com/viewtopic.php?t=5053 , htt...
by woodsb
Tue Oct 30, 2018 3:50 pm
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Re: Revisit: Xflash failed to compile with custom loader

Please confirm this detail. Yes, the -llibrary option causes xcc to look for liblibrary.a. Confirmed in XCC command line manual. Do experiment to see if the tool complains about missing library files with your passed parameters. Also, does --verbose help for any of these command line tools? My load...
by woodsb
Tue Oct 30, 2018 1:38 am
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Re: Revisit: Xflash failed to compile with custom loader

Thanks for the continued help. I did find the file, in the 14.3.3 tools, target/lib/xs1b/libquadflash.a and target/lib/xs2a/libquadflash.a. I've also used the flash library in other routines, with the -lquadflash in the makefile, so know that the resources are there. But looking at your hints prompt...
by woodsb
Tue Oct 30, 2018 12:32 am
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Re: Revisit: Xflash failed to compile with custom loader

Thanks, mon2, for the link to the older versions of the tools. I'm really looking for a true fix to this issue, though. I have other kluges I can use to get around this problem currently that I find more appealing than using old tools. I'd really like to know, is this an xflash bug, or am I missing ...
by woodsb
Mon Oct 29, 2018 11:12 pm
Forum: Development Tools and Programming
Topic: Revisit: Xflash failed to compile with custom loader
Replies: 12
Views: 96720

Revisit: Xflash failed to compile with custom loader

I have almost exactly the same custom loader problem as reported in this older thread ( http://www.xcore.com/viewtopic.php?t=3110 ), but the solution there (building and flashing with two different, and now unavailable, older versions of the tools) is not possible, and I wonder if anyone has any adv...