TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136639 times)
  2. FAT32 Library (69849 times)
  3. Network Ethernet Library (55897 times)
  4. USB Device Library (46232 times)
  5. Network WiFi Library (41868 times)
  6. FT800 Library (41093 times)
  7. GSM click (28947 times)
  8. PID Library (26402 times)
  9. mikroSDK (26320 times)
  10. microSD click (25330 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

Flash 2 click

Rating:

7

Author: MIKROE

Last Updated: 2018-03-13

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: FLASH

Downloaded: 5993 times

Not followed.

License: MIT license  

Flash 2 click is a mikroBUS add-on board for adding more Flash Memory to your target board microcontroller. It carries Microchip’s SST26VF064B flash-memory module with 64 Mbits capacity. It’s a highly reliable module with a specified minimum of 100,000 read and write cycles and with over 100 years of Data Retention.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Flash 2 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Flash 2 click" changes.

Do you want to report abuse regarding "Flash 2 click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Flash 2 click

Flash 2 click

Native view of the Flash 2 click board.

View full image
Flash 2 Click

Flash 2 Click

Flash 2 Click board

View full image

Key functions:

  • void flash2_read( uint32_t address, uint8_t *buffer,uint32_t data_count ); - The function reads data from selected address.
  • void flash2_write( uint32_t address, uint8_t *buffer,  uint32_t data_count ); - The function writes data to  selected address.
  • void flash2_chipErase( void ); - The chip erase function clears all bits in the device 1.

Examples Description

The application is composed of three sections:

  • System Initialization - GPIO and SPI module Initialization.
  • Application Initialization - Flash Driver Initialization, initialization of click by setting mikorBUS to appropriate logic levels, performing global block unlock and chip erase functions.
  • Application Task - Writing data to click memory and displaying the read data via UART.
void applicationTask()
{

 mikrobus_logWrite("Writing MikroE to Flash memory, from address 0x015015:",
_LOG_LINE);
 flash2_write (0x015015, &wrData[0], 9);
 mikrobus_logWrite("Reading 9 bytes of Flash memory, from address 0x015015:",
_LOG_LINE);
 flash2_read(0x015015,&rdData[0],9);
 mikrobus_logWrite("Data read: ",_LOG_TEXT);
 mikrobus_logWrite(rdData,_LOG_LINE);
 Delay_ms(1000);
}

Other mikroE Libraries used in the example:

  • SPI
  • UART

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

Microwave 2 click

5

Microwave 2 click is an accurate and reliable short to medium range motion detection Click board, based on a Doppler radar principle.

[Learn More]

Hall Current 4 click

7

The Hall Current 4 click is designed to measure relatively high current by using the integrated ACS70331 sensor.

[Learn More]

Magneto 2 click

1

Magneto 2 click is a mikroBUS add-on board with Melexis's MLX90316 monolithic rotary position sensor. Sensing flux density with the IC surface of the MLX90316 allows the click to decode the absolute rotary (angular) position from 0 to 360 degrees.

[Learn More]