Search found 6 matches

by asihvo
Mon Sep 10, 2018 9:53 am
Forum: Development Tools and Programming
Topic: Timer on bootloader
Replies: 1
Views: 1874

Timer on bootloader

Hi, I have tried usleep and timers on secondary bootloader but nothing seems to delay the execution. Either the bootloader is not executed at all or timer of delay_milliseconds() just does not work on bootloader. As you might guess I am trying to implement uart on bootloader to controll the boot pro...
by asihvo
Thu Sep 06, 2018 6:42 am
Forum: Development Tools and Programming
Topic: XUEF216-512-TQ128-C20 Field update
Replies: 8
Views: 3661

Re: XUEF216-512-TQ128-C20 Field update

The problem is not finding next boot image but to replace is. I believe the issue you mentioned is fixed on versions I use. $ xcc --version Community_14.3.3 (build 22296, Apr-19-2018) Compiler version: 14.3.3 Copyright (C) XMOS Limited 2008-2017. All Rights Reserved. $ xflash --version Community_14....
by asihvo
Wed Sep 05, 2018 4:53 am
Forum: Development Tools and Programming
Topic: XUEF216-512-TQ128-C20 Field update
Replies: 8
Views: 3661

Re: XUEF216-512-TQ128-C20 Field update

Following code works. But if I try to replace the image or delete it and then add image, the write fails. Sometimes the first write fails sometimes the 17:th. The while loop around ImageReplace hangs the device, I cannot get any response after that, Without while it fails on write. Summa summarum: I...
by asihvo
Tue Sep 04, 2018 8:48 am
Forum: Development Tools and Programming
Topic: XUEF216-512-TQ128-C20 Field update
Replies: 8
Views: 3661

Re: XUEF216-512-TQ128-C20 Field update

Any Ideas, I also tried to to delete a image and then add mae after the previuous image. It writes a few image and then fails to write any more images. I am some what puzeled with the behaviour.
by asihvo
Fri Aug 31, 2018 4:49 am
Forum: Development Tools and Programming
Topic: XUEF216-512-TQ128-C20 Field update
Replies: 8
Views: 3661

Re: XUEF216-512-TQ128-C20 Field update

I managed to pinpoint the problem to fl_startImageReplace, If I use fl_startImageAdd (without the while loop) everything works perfectly.
by asihvo
Tue Aug 28, 2018 11:08 am
Forum: Development Tools and Programming
Topic: XUEF216-512-TQ128-C20 Field update
Replies: 8
Views: 3661

XUEF216-512-TQ128-C20 Field update

Hi, I trying to update XUEF216-512-TQ128-C20 over serial port and have encountered some problems flash_persist_init(ports); // Connects the SPI fl_getFactoryImage(b0); if ( fl_getNextBootImage(b1)) { while(fl_startImageAdd(b0,kBF_MAX_IMAGE_SIZE,0)); } else { fl_startImageReplace(b1,kBF_MAX_IMAGE_SIZ...