/LevelX-v6.3.0/common/src/ |
D | lx_nor_flash_block_reclaim.c | 111 UINT status; in _lx_nor_flash_block_reclaim() local 138 status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr, &erase_started_value, 1); in _lx_nor_flash_block_reclaim() 141 if (status) in _lx_nor_flash_block_reclaim() 145 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_block_reclaim() 148 return(status); in _lx_nor_flash_block_reclaim() 152 status = _lx_nor_flash_driver_block_erase(nor_flash, erase_block, erase_count+1); in _lx_nor_flash_block_reclaim() 155 if (status) in _lx_nor_flash_block_reclaim() 159 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_block_reclaim() 162 return(status); in _lx_nor_flash_block_reclaim() 195 …status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr+(nor_flash -> lx_nor_flash_block_fr… in _lx_nor_flash_block_reclaim() [all …]
|
D | lx_nand_flash_block_data_move.c | 92 UINT status; in _lx_nand_flash_block_data_move() local 100 status = _lx_nand_flash_mapped_block_list_get(nand_flash, &block_mapping_index); in _lx_nand_flash_block_data_move() 102 if (status) in _lx_nand_flash_block_data_move() 110 …status = _lx_nand_flash_block_find(nand_flash, block_mapping_index * nand_flash -> lx_nand_flash_p… in _lx_nand_flash_block_data_move() 113 if (status) in _lx_nand_flash_block_data_move() 124 …status = _lx_nand_flash_data_page_copy(nand_flash, block_mapping_index * nand_flash -> lx_nand_fla… in _lx_nand_flash_block_data_move() 127 if (status) in _lx_nand_flash_block_data_move() 131 _lx_nand_flash_system_error(nand_flash, status, new_block, 0); in _lx_nand_flash_block_data_move() 150 status = _lx_nand_flash_block_status_set(nand_flash, new_block, new_block_status); in _lx_nand_flash_block_data_move() 153 if (status) in _lx_nand_flash_block_data_move() [all …]
|
D | lx_nand_flash_sector_write.c | 97 UINT status; in _lx_nand_flash_sector_write() local 117 status = _lx_nand_flash_block_find(nand_flash, logical_sector, &block, &block_status); in _lx_nand_flash_sector_write() 120 if(status != LX_SUCCESS) in _lx_nand_flash_sector_write() 124 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_write() 127 if (status != LX_NAND_ERROR_CORRECTED) in _lx_nand_flash_sector_write() 145 status = _lx_nand_flash_block_allocate(nand_flash, &new_block); in _lx_nand_flash_sector_write() 148 if (status == LX_NO_BLOCKS) in _lx_nand_flash_sector_write() 157 return(status); in _lx_nand_flash_sector_write() 161 else if (status != LX_SUCCESS) in _lx_nand_flash_sector_write() 165 _lx_nand_flash_system_error(nand_flash, status, new_block, 0); in _lx_nand_flash_sector_write() [all …]
|
D | lx_nor_flash_physical_sector_allocate.c | 96 UINT status; in _lx_nor_flash_physical_sector_allocate() local 137 …status = _lx_nor_flash_driver_read(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_f… in _lx_nor_flash_physical_sector_allocate() 140 if (status) in _lx_nor_flash_physical_sector_allocate() 144 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_physical_sector_allocate() 147 return(status); in _lx_nor_flash_physical_sector_allocate() 171 …status = _lx_nor_flash_driver_read(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_f… in _lx_nor_flash_physical_sector_allocate() 174 if (status) in _lx_nor_flash_physical_sector_allocate() 178 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_physical_sector_allocate() 181 return(status); in _lx_nor_flash_physical_sector_allocate() 189 …status = _lx_nor_flash_driver_write(nor_flash, (block_word_ptr + nor_flash -> lx_nor_flash_block_… in _lx_nor_flash_physical_sector_allocate() [all …]
|
D | lx_nor_flash_sector_read.c | 95 UINT status; in _lx_nor_flash_sector_read() local 120 status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_read() 123 if (status) in _lx_nor_flash_sector_read() 127 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_read() 130 status = LX_ERROR; in _lx_nor_flash_sector_read() 136 status = LX_SUCCESS; in _lx_nor_flash_sector_read() 153 … status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_read() 156 if (status) in _lx_nor_flash_sector_read() 160 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_read() 167 status = _lx_nor_flash_driver_write(nor_flash, mapping_address, &mapping_entry, 1); in _lx_nor_flash_sector_read() [all …]
|
D | lx_nand_flash_sector_release.c | 95 UINT status; in _lx_nand_flash_sector_release() local 116 status = _lx_nand_flash_block_find(nand_flash, logical_sector, &block, &block_status); in _lx_nand_flash_sector_release() 119 if (status != LX_SUCCESS) in _lx_nand_flash_sector_release() 123 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release() 126 if (status != LX_NAND_ERROR_CORRECTED) in _lx_nand_flash_sector_release() 159 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, (ULONG)page, LX_NULL, … in _lx_nand_flash_sector_release() 161 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(block, (ULONG)page, LX_NULL, spare_buffer… in _lx_nand_flash_sector_release() 165 if (status) in _lx_nand_flash_sector_release() 169 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_release() 215 status = _lx_nand_flash_block_allocate(nand_flash, &new_block); in _lx_nand_flash_sector_release() [all …]
|
D | lx_nor_flash_open.c | 125 UINT status; in _lx_nor_flash_open() local 246 status = _lx_nor_flash_driver_read(nor_flash, block_word_ptr, &block_word, 1); in _lx_nor_flash_open() 249 if (status) in _lx_nor_flash_open() 253 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open() 318 …status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr+(nor_flash -> lx_nor_flash_block_fr… in _lx_nor_flash_open() 321 if (status) in _lx_nor_flash_open() 325 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open() 335 status = _lx_nor_flash_driver_write(nor_flash, block_word_ptr, &block_word, 1); in _lx_nor_flash_open() 338 if (status) in _lx_nor_flash_open() 342 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_open() [all …]
|
D | lx_nand_flash_metadata_allocate.c | 89 UINT status; in _lx_nand_flash_metadata_allocate() local 188 status = _lx_nand_flash_metadata_build(nand_flash); in _lx_nand_flash_metadata_allocate() 191 if (status != LX_SUCCESS) in _lx_nand_flash_metadata_allocate() 195 return(status); in _lx_nand_flash_metadata_allocate() 206 …status = _lx_nand_flash_driver_block_erase(nand_flash, block, nand_flash -> lx_nand_flash_base_era… in _lx_nand_flash_metadata_allocate() 209 if (status) in _lx_nand_flash_metadata_allocate() 213 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_metadata_allocate() 242 …status = _lx_nand_flash_driver_block_erase(nand_flash, block, nand_flash -> lx_nand_flash_base_era… in _lx_nand_flash_metadata_allocate() 245 if (status) in _lx_nand_flash_metadata_allocate() 249 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_metadata_allocate() [all …]
|
D | lx_nor_flash_sector_write.c | 107 UINT status; in _lx_nor_flash_sector_write() local 157 … status = _lx_nor_flash_driver_write(nor_flash, new_sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_write() 160 if (status) in _lx_nor_flash_sector_write() 164 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_write() 188 … status = _lx_nor_flash_driver_read(nor_flash, old_mapping_address, &old_mapping_entry, 1); in _lx_nor_flash_sector_write() 191 if (status) in _lx_nor_flash_sector_write() 195 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_write() 212 … status = _lx_nor_flash_driver_write(nor_flash, old_mapping_address, &old_mapping_entry, 1); in _lx_nor_flash_sector_write() 215 if (status) in _lx_nor_flash_sector_write() 219 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_write() [all …]
|
D | lx_nand_flash_metadata_build.c | 78 UINT status; in _lx_nand_flash_metadata_build() local 95 …status = _lx_nand_flash_metadata_write(nand_flash, (UCHAR*)nand_device_info_page, LX_NAND_PAGE_TYP… in _lx_nand_flash_metadata_build() 98 if (status != LX_SUCCESS) in _lx_nand_flash_metadata_build() 102 return(status); in _lx_nand_flash_metadata_build() 113 …status = _lx_nand_flash_metadata_write(nand_flash, (UCHAR*)(nand_flash -> lx_nand_flash_erase_coun… in _lx_nand_flash_metadata_build() 118 if (status != LX_SUCCESS) in _lx_nand_flash_metadata_build() 122 return(status); in _lx_nand_flash_metadata_build() 134 …status = _lx_nand_flash_metadata_write(nand_flash, (UCHAR*)(nand_flash -> lx_nand_flash_block_mapp… in _lx_nand_flash_metadata_build() 138 if (status != LX_SUCCESS) in _lx_nand_flash_metadata_build() 142 return(status); in _lx_nand_flash_metadata_build() [all …]
|
D | lx_nand_flash_metadata_write.c | 85 UINT status; in _lx_nand_flash_metadata_write() local 114 …status = (nand_flash -> lx_nand_flash_driver_pages_write)(nand_flash, block, page, main_buffer, sp… in _lx_nand_flash_metadata_write() 116 …status = (nand_flash -> lx_nand_flash_driver_pages_write)(block, page, main_buffer, spare_buffer_p… in _lx_nand_flash_metadata_write() 120 if (status) in _lx_nand_flash_metadata_write() 124 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_metadata_write() 127 return(status); in _lx_nand_flash_metadata_write() 141 …status = (nand_flash -> lx_nand_flash_driver_pages_write)(nand_flash, block, page, main_buffer, sp… in _lx_nand_flash_metadata_write() 143 …status = (nand_flash -> lx_nand_flash_driver_pages_write)(block, page, main_buffer, spare_buffer_p… in _lx_nand_flash_metadata_write() 147 if (status) in _lx_nand_flash_metadata_write() 151 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_metadata_write() [all …]
|
D | lx_nand_flash_sector_read.c | 86 UINT status; in _lx_nand_flash_sector_read() local 105 status = _lx_nand_flash_block_find(nand_flash, logical_sector, &block, &block_status); in _lx_nand_flash_sector_read() 108 if (status != LX_SUCCESS) in _lx_nand_flash_sector_read() 112 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_read() 115 if (status != LX_NAND_ERROR_CORRECTED) in _lx_nand_flash_sector_read() 147 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, (ULONG)page, (UCHAR*)b… in _lx_nand_flash_sector_read() 149 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(block, (ULONG)page, (UCHAR*)buffer, spare… in _lx_nand_flash_sector_read() 153 if (status) in _lx_nand_flash_sector_read() 157 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_sector_read() 189 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, logical_sector % nand_… in _lx_nand_flash_sector_read() [all …]
|
D | lx_nand_flash_format.c | 105 UINT status; in _lx_nand_flash_format() local 142 status = _lx_nand_flash_memory_initialize(nand_flash, memory_ptr, memory_size); in _lx_nand_flash_format() 143 if (status != LX_SUCCESS) in _lx_nand_flash_format() 145 return(status); in _lx_nand_flash_format() 162 status = _lx_nand_flash_driver_block_status_get(nand_flash, block, &block_status); in _lx_nand_flash_format() 165 if (status) in _lx_nand_flash_format() 169 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_format() 192 status = _lx_nand_flash_driver_block_erase(nand_flash, block, 0); in _lx_nand_flash_format() 195 if (status) in _lx_nand_flash_format() 199 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_format() [all …]
|
D | fx_nand_flash_simulated_driver.c | 140 UINT status; in _fx_nand_flash_simulator_driver() local 228 status = _lx_nand_flash_sector_read(&nand_flash, logical_sector, buffer); in _fx_nand_flash_simulator_driver() 231 if (status != LX_SUCCESS) in _fx_nand_flash_simulator_driver() 261 status = _lx_nand_flash_sector_write(&nand_flash, logical_sector, buffer); in _fx_nand_flash_simulator_driver() 264 if (status != LX_SUCCESS) in _fx_nand_flash_simulator_driver() 294 status = _lx_nand_flash_sector_release(&nand_flash, logical_sector); in _fx_nand_flash_simulator_driver() 297 if (status != LX_SUCCESS) in _fx_nand_flash_simulator_driver() 358 …status = _lx_nand_flash_open(&nand_flash, "sim nand flash", _lx_nand_flash_simulator_initialize, … in _fx_nand_flash_simulator_driver() 361 if (status != LX_SUCCESS) in _fx_nand_flash_simulator_driver() 382 status = _lx_nand_flash_close(&nand_flash); in _fx_nand_flash_simulator_driver() [all …]
|
D | fx_nor_flash_simulator_driver.c | 131 UINT status; in _fx_nor_flash_simulator_driver() local 220 status = lx_nor_flash_sector_read(&nor_flash, logical_sector, destination_buffer); in _fx_nor_flash_simulator_driver() 223 if (status != LX_SUCCESS) in _fx_nor_flash_simulator_driver() 254 status = lx_nor_flash_sector_write(&nor_flash, logical_sector, source_buffer); in _fx_nor_flash_simulator_driver() 257 if (status != LX_SUCCESS) in _fx_nor_flash_simulator_driver() 287 status = lx_nor_flash_sector_release(&nor_flash, logical_sector); in _fx_nor_flash_simulator_driver() 290 if (status != LX_SUCCESS) in _fx_nor_flash_simulator_driver() 350 … status = lx_nor_flash_open(&nor_flash, "sim nor flash", _lx_nor_flash_simulator_initialize); in _fx_nor_flash_simulator_driver() 353 if (status != LX_SUCCESS) in _fx_nor_flash_simulator_driver() 374 status = lx_nor_flash_close(&nor_flash); in _fx_nor_flash_simulator_driver() [all …]
|
D | lx_nor_flash_driver_read.c | 89 UINT status; in _lx_nor_flash_driver_read() local 167 status = (nor_flash -> lx_nor_flash_driver_read)(nor_flash, cache_entry_start, in _lx_nor_flash_driver_read() 171 status = (nor_flash -> lx_nor_flash_driver_read)(cache_entry_start, in _lx_nor_flash_driver_read() 177 if (status != LX_SUCCESS) in _lx_nor_flash_driver_read() 181 return(status); in _lx_nor_flash_driver_read() 194 } while (status == LX_SUCCESS); in _lx_nor_flash_driver_read() 204 … status = (nor_flash -> lx_nor_flash_driver_read)(nor_flash, flash_address, destination, words); in _lx_nor_flash_driver_read() 206 status = (nor_flash -> lx_nor_flash_driver_read)(flash_address, destination, words); in _lx_nor_flash_driver_read() 210 return(status); in _lx_nor_flash_driver_read() 213 UINT status; in _lx_nor_flash_driver_read() [all …]
|
D | lx_nor_flash_sector_release.c | 96 UINT status; in _lx_nor_flash_sector_release() local 130 status = _lx_nor_flash_driver_read(nor_flash, mapping_address, &mapping_entry, 1); in _lx_nor_flash_sector_release() 133 if (status) in _lx_nor_flash_sector_release() 137 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_release() 155 status = _lx_nor_flash_driver_write(nor_flash, mapping_address, &mapping_entry, 1); in _lx_nor_flash_sector_release() 158 if (status) in _lx_nor_flash_sector_release() 162 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_sector_release() 231 status = LX_SUCCESS; in _lx_nor_flash_sector_release() 237 status = LX_SECTOR_NOT_FOUND; in _lx_nor_flash_sector_release() 247 return(status); in _lx_nor_flash_sector_release()
|
D | lx_nor_flash_driver_write.c | 90 UINT status; in _lx_nor_flash_driver_write() local 133 status = (nor_flash -> lx_nor_flash_driver_write)(nor_flash, flash_address, source, words); in _lx_nor_flash_driver_write() 135 status = (nor_flash -> lx_nor_flash_driver_write)(flash_address, source, words); in _lx_nor_flash_driver_write() 139 return(status); in _lx_nor_flash_driver_write() 142 UINT status; in _lx_nor_flash_driver_write() 147 status = (nor_flash -> lx_nor_flash_driver_write)(nor_flash, flash_address, source, words); in _lx_nor_flash_driver_write() 149 status = (nor_flash -> lx_nor_flash_driver_write)(flash_address, source, words); in _lx_nor_flash_driver_write() 153 return(status); in _lx_nor_flash_driver_write()
|
D | lx_nand_flash_data_page_copy.c | 90 UINT status = LX_SUCCESS; in _lx_nand_flash_data_page_copy() local 125 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, source_block, (ULONG)source_p… in _lx_nand_flash_data_page_copy() 127 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(source_block, (ULONG)source_page, LX_NULL… in _lx_nand_flash_data_page_copy() 131 if (status) in _lx_nand_flash_data_page_copy() 135 _lx_nand_flash_system_error(nand_flash, status, source_block, 0); in _lx_nand_flash_data_page_copy() 154 …status = (nand_flash -> lx_nand_flash_driver_pages_copy)(nand_flash, source_block, (ULONG)source_p… in _lx_nand_flash_data_page_copy() 156 …status = (nand_flash -> lx_nand_flash_driver_pages_copy)(source_block, (ULONG)source_page, destina… in _lx_nand_flash_data_page_copy() 160 if (status) in _lx_nand_flash_data_page_copy() 164 _lx_nand_flash_system_error(nand_flash, status, source_block, 0); in _lx_nand_flash_data_page_copy() 209 …status = (nand_flash -> lx_nand_flash_driver_pages_copy)(nand_flash, source_block, (ULONG)source_p… in _lx_nand_flash_data_page_copy() [all …]
|
D | lx_nand_flash_open.c | 104 UINT status; in _lx_nand_flash_open() local 153 status = _lx_nand_flash_memory_initialize(nand_flash, memory_ptr, memory_size); in _lx_nand_flash_open() 154 if (status != LX_SUCCESS) in _lx_nand_flash_open() 156 return(status); in _lx_nand_flash_open() 172 status = _lx_nand_flash_driver_block_status_get(nand_flash, block, &block_status); in _lx_nand_flash_open() 175 if (status) in _lx_nand_flash_open() 179 _lx_nand_flash_system_error(nand_flash, status, block, 0); in _lx_nand_flash_open() 203 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(nand_flash, block, 0, page_buffer_ptr, sp… in _lx_nand_flash_open() 205 …status = (nand_flash -> lx_nand_flash_driver_pages_read)(block, 0, page_buffer_ptr, spare_buffer_p… in _lx_nand_flash_open() 209 if (status) in _lx_nand_flash_open() [all …]
|
D | lx_nor_flash_next_block_to_erase_find.c | 119 UINT status; in _lx_nor_flash_next_block_to_erase_find() local 163 status = _lx_nor_flash_driver_read(nor_flash, block_word_ptr, &erase_count, 1); in _lx_nor_flash_next_block_to_erase_find() 166 if (status) in _lx_nor_flash_next_block_to_erase_find() 170 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_next_block_to_erase_find() 173 return(status); in _lx_nor_flash_next_block_to_erase_find() 215 …status = _lx_nor_flash_driver_read(nor_flash, block_word_ptr + LX_NOR_FLASH_MIN_LOGICAL_SECTOR_OF… in _lx_nor_flash_next_block_to_erase_find() 218 if (status) in _lx_nor_flash_next_block_to_erase_find() 222 _lx_nor_flash_system_error(nor_flash, status); in _lx_nor_flash_next_block_to_erase_find() 225 return(status); in _lx_nor_flash_next_block_to_erase_find() 237 …status = _lx_nor_flash_driver_read(nor_flash, block_word_ptr + LX_NOR_FLASH_MAX_LOGICAL_SECTOR_OF… in _lx_nor_flash_next_block_to_erase_find() [all …]
|
D | lx_nand_flash_driver_block_erased_verify.c | 88 UINT status; in _lx_nand_flash_driver_block_erased_verify() local 95 status = (nand_flash -> lx_nand_flash_driver_block_erased_verify)(nand_flash, block); in _lx_nand_flash_driver_block_erased_verify() 97 status = (nand_flash -> lx_nand_flash_driver_block_erased_verify)(block); in _lx_nand_flash_driver_block_erased_verify() 100 return(status); in _lx_nand_flash_driver_block_erased_verify()
|
D | lx_nand_flash_sectors_release.c | 81 UINT status = LX_SUCCESS; in _lx_nand_flash_sectors_release() local 90 status = _lx_nand_flash_sector_release(nand_flash, logical_sector + i); in _lx_nand_flash_sectors_release() 93 if (status) in _lx_nand_flash_sectors_release() 102 return(status); in _lx_nand_flash_sectors_release()
|
/LevelX-v6.3.0/samples/ |
D | demo_filex_nand_flash.c | 95 UINT status; in thread_0_entry() local 127 …status = fx_media_open(&nand_disk, "NAND DISK", _fx_nand_flash_simulator_driver, FX_NULL, media_m… in thread_0_entry() 130 if (status != FX_SUCCESS) in thread_0_entry() 138 status = fx_file_create(&nand_disk, "TEST.TXT"); in thread_0_entry() 141 if (status != FX_SUCCESS) in thread_0_entry() 146 if (status != FX_ALREADY_CREATED) in thread_0_entry() 155 status = fx_file_open(&nand_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in thread_0_entry() 158 if (status != FX_SUCCESS) in thread_0_entry() 166 status = fx_file_seek(&my_file, 0); in thread_0_entry() 169 if (status != FX_SUCCESS) in thread_0_entry() [all …]
|
D | demo_filex_nor_flash.c | 94 UINT status; in thread_0_entry() local 126 …status = fx_media_open(&nor_disk, "NOR DISK", _fx_nor_flash_simulator_driver, FX_NULL, media_memo… in thread_0_entry() 129 if (status != FX_SUCCESS) in thread_0_entry() 137 status = fx_file_create(&nor_disk, "TEST.TXT"); in thread_0_entry() 140 if (status != FX_SUCCESS) in thread_0_entry() 145 if (status != FX_ALREADY_CREATED) in thread_0_entry() 154 status = fx_file_open(&nor_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in thread_0_entry() 157 if (status != FX_SUCCESS) in thread_0_entry() 165 status = fx_file_seek(&my_file, 0); in thread_0_entry() 168 if (status != FX_SUCCESS) in thread_0_entry() [all …]
|