Forum Discussion
Altera_Forum
Honored Contributor
21 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- I'm not a flash expert, but having a look at the datasheet of S29GL064M11TAIR0 does not show the single word program command which is used by the following function (write to buffer and program buffer) /* * alt_program_amd * * Program a block (or part of one) * * Use the old fashioned word at a time program method * that way it will work on all devices * * There is another mechanism which puts the device into a mode and * then writes Addr, Data Addr, Data etc. */ int alt_program_amd(alt_flash_dev* flash_info, int block_offset, int offset, const void* src_addr, int length) { ... - will this flash type (S29GL064M11TAIR0) be supported by altera ? - which newer FLASH devices can be used with NIOSII and the flash programmer ? - how can the flash programmer be modified to support other flash devices ? thanks[/b] --- Quote End --- First things first it's a common mistake to look at the HAL code and assume that this is the flash programmer code. This is incorrect. Looking at the HAL code in the 1.1 kit and the datasheet for this part http://www.amd.com/us-en/assets/content_ty...xxa_00_a1_e.pdf (http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/s29glxxxa_00_a1_e.pdf) I found that the code matched the Program sequence in table 18. Obviously it's not 100% possible to say that it will work without trying it. One thing to note is that a number of flash companies claim their parts are CFI compliant which are not, though AMD is not one I have seen do this in the past.