| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
hi
i use DZX usb bootloader for programing my device
but during the programing when Request user
program is running this error occur .
i set user program start address from 4000.
i attached error picture.
thanks
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
error is " An error has occurred during the update " . " Details :The device has failed to execute user application".
thanks
| |
Tyler
DZX Support
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
Hello Mike,
That error indicates that bootloader successfully programmed the user application to the flash memory, but it failed to see the user application execute and connect via the USB.
You could be receiving that error either because the bootloader application doesn't have the correct value for USER_APP_ADDR in usbcfg.h. Ensure the bootloader has been built and loaded using the 4000 value.
Another reason that can happen is if the user program hasn't been linked for a base address of 4000. This adjustment is done using the linker configuration within the tools you are using for building your firmware.
Let me know if you have any further questions.
-Tyler
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
thanks for your answer my problem not solved. I use LPC1788 microcontroller and in bootloader program i changed
#define USER_APP_ADDR0x00004000
#define USER_APP_MAX_SZ0x00080000 so after that in DZX USB Workbench , in Device Information has written USBBootloader NOTsupported . is it important? In Bootloader tab in DZX USB Workbench , in Hardware Boot Information there is these Specifications: user application address 0x00004000 user application max size 512.00 KB write buffer size 4.00 KB
Now when the Request User Application is running , the USB connection Disconnected . How can I solve it? I really need it.
thanks
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
I checked your mentions and they are correct.
when user application start address in bootloader program and user program are same , when Request User Application is running device disconnected. when they aren't same for example user application start address in bootloader program is 2000 and in user program is 4000 , when Request User Application is running , the error " An error has occurred during the update " . " Details :The device has failed to execute user application" occur. I've really confused.
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
Even i use demo program or another program as a user application i face to these problems.
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
No one answer?????????????
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
thank you for your fast answer!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Now i can programing demo program in DZX Workbench path , but when i programing my user program, during Requesting user application , USB device flashed and disconnected but not connected again .
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
of course i checked BOOT_APPLICATION_SWITCH_LOOP_DELAY and USBPORT_REG_WDTC and modified them but not solved.
| |
Tyler
DZX Support
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
Hello Mike,
Our apologies for the delay as our office is only open Monday-Friday.
Just a little bit more information about your setup may help. What hardware are you using? An evaluation board? Also, which version of Windows are you doing this testing with?
Also, when the device is running the demo application and it is disconnected, is it connected within Windows? As in is there a popup appearing that is saying "Device Not Recognized" from Windows taskbar or is it just not connecting within the DZX Workbench?
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
hi tyler i'm sorry I didn't know your work time. my hardware is typical An LPC1788 evaluation board and the USB hardware is correct. my windows is 7. when the device is running the demo application , it is connected . there is no popup Device Not Recognized.
I want to program my own program to device but it isn't possible.while I programing demo application. how can do that? please guide me ? i really confused.
| |
mike
|
Posted
8 years ago
Actions
Edit Post
Remove Attachment
Remove Post
|
hi tyler i'm sorry I didn't know your work time. my hardware is typical An LPC1788 evaluation board and the USB hardware is correct. my windows is 7. when the device is running the demo application , it is connected . there is no popup Device Not Recognized.
I want to program my own program to device but it isn't possible.while I programing demo application. how can do that? please guide me ? i really confused.
| |