Forum Discussion
29 Replies
- MMinu3
New Contributor
Hi John,
no, now we don't have a license because we are testing the whole system in a new application: we are going to evaulate to buy one in the future if all will be ok.
Are there some features disabled (in Lite versione) regarding this issue?
Thank you again
Maurizio
- JohnT_Altera
Regular Contributor
Hi,
Nios IP is usually need license. Not sure if you are able to test it out with System Console?
- MMinu3
New Contributor
Hi,
your sales distributor in Italy, told us that for NIOS/e we don't need a license, but we need only for NIOS/f.
Moreover, please look at "https://www.intel.com/content/www/us/en/products/programmable/processor/nios-ii.html" web page (... With as low as 600 logic elements, the Nios II economy processor core is ideal for microcontroller applications. The Nios II economy processor core, software tools, and device drivers are offered free of charge...).
What do I've lost?
Thanks
Maurizio
- JohnT_Altera
Regular Contributor
Hi,
If you are using Nios/e then it should be fine. From the FW code, I observed that you are using the Generic Serial Flash Controller Driver which is not suitable for Generic Serial Flash Interface. May I know where do you get the driver and is it possible for you to write your own driver or code?
- MMinu3
New Contributor
Hi,
For the FW i've got inspiration from the example provided by INTEL (https://fpgacloud.intel.com/devstore/platform/2179/) but I've modified the code to fit the EPCQ-A datasheet requirements and Operation Code.
Note that only "erase" command doesn't works, while Read and Write works well.
I really don't understand why and I hope you can help me
Thank you
Maurizio
- JohnT_Altera
Regular Contributor
Hi,
May I know performed "write enable operation" before performing the erase?
How do you define the "SectorAddress"? Is it the flash address location?
- MMinu3
New Contributor
Hi John,
yes the "write enable" operation is performed at line 78 in "main.c" (for details, please, refers to line 46 in "myEPCQ16A_Driver.c" and, with more details, in "myFL_WriteEnable()" function at line 334 in "mySpiGenericFlashController.c").
About sector address (myEPCQ_USER_SECT_START) it is defined in "myEPCQ16A_Driver.h" and is "0x001F0000": it's not the flash location but the sector address in FLASH Memory space where I want perform my operations (Read, Write, Erase).
Thank you
Maurizio
- JohnT_Altera
Regular Contributor
Hi,
Please use the flash address location of the sector you want to erase rather than the sector location.
- MMinu3
New Contributor
Hi,
it doesn't works but, let me say, if my "erasing" waveform matchs exactly the ones on the datasheet, maybe i'm misunderstandig something else...
Maurizio
- JohnT_Altera
Regular Contributor
Hi,
The code and waveform looks good. Could you try to performed sector protect to un-protect all the flash address? This is to ensure that there is no protection in place before performing the subsector erase.
If you are still facing the issue after un-protect the flash, could you try to performed sector or bulk erase to see if it is working?