cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jhjo
Observer
Observer
279 Views
Registered: ‎11-12-2018

vitis 2019.2 kcu105 board spi & flash error

I used spi & xilisf library in SDK 2018.1 - Microblaze
After updating SDK2018.1 to vitis 2019.2, some spi & xilisf operations are abnormal
 
ex1) When I check busy state, It always return busy state.
      #define FLASH_SR_IS_READY_MASK = 0x01
      Status = SpiFlashGetStatus(&Spi);
      StatusReg = ReadBuffer[1];
      if((StatusReg & FLASH_SR_IS_READY_MASK) == 0) {
             print("break in SpiFlashWaitForFlashReady \r\n");
             break;
       } else {
              print("busy  \r\n");
       }
       // StatusReg  => always 0x81 so it is busy.
 
ex2) When I get JEDIC Device Info in bootloader code, XIsf_GetDeviceInfo(), IntelStmFlashInitialize() function returns invalid device code.
        KCU105 flash memory : N25Q256A11ESF40F (Micron)
            SDK 2018.1
                    manufactur ID : 0x20 (XISF_MICRON_ID_BYTE2_512)
                    DeviceCode : 0xbb19  (XISF_MIC_DEV_N25Q256_1V8)
 
             vitis 2019.2
                    manufactur ID : 0x90 (not defined)
                    DeviceCode : 0x5d8c  (not defined)
                    => XIsf_Initialize() FAIL
    

0 Kudos
0 Replies