Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: typecast uint8_t array into uint64_t variable (1 Replies)

$
0
0
I am working on STM32L432KB with Keil uVesion5 and need to write its internal flash using IAP method. For that I use below API: HAL_FLASH_Program (uint32_t TypeProgram, uint32_t Address, uint64_t Data) The last argument(data) of the API accepts data of type uint64_t. Data to be written in flash in stored in and array of type uint8_t. While developing logic for the same, I am facing 2 issues. 1. Data is stored in uint8_t buf[500] and I want to copy its 8 consecutive bytes

Viewing all articles
Browse latest Browse all 3049

Trending Articles