BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: ESD (4.14.0) - Emulator Executable (Flash files)  (Read 8178 times)

Darren

  • Newbie
  • *
  • Posts: 26
    • View Profile
ESD (4.14.0) - Emulator Executable (Flash files)
« on: January 28, 2022, 03:46:55 PM »

Hello Community,

When attempting to launch an Emulator executable generated from a project that uses assets stored in EVE connected Flash a prompt is presented 'Select flash file (or press ENTER to use no flash):' Entering the binary or map file name results in a 'Failed to load flash library' message been displayed as per attached screenshot.

Q) Is there any specific requirements when entering Flash file name when using a generated Emulator executable or a method to output more detail as to why the load failed?

Your experience and knowledge is greatly appreciated.
Many Thanks
Logged

Darren

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #1 on: February 18, 2022, 08:52:08 AM »

Hello Community,

Retested on latest 4.15.0 with the same outcome, has anybody successfully been able to use Emulator executable with Flash binary?

Kind Regards
Darren
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 734
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #2 on: February 21, 2022, 11:57:24 AM »

Hi Darren,

We could reproduce the issue and are currently checking on the solution and we'll post an update here soon,

Best Regards, BRT Community
Logged

Darren

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #3 on: February 21, 2022, 12:05:39 PM »

Hello,

Many thanks for your assistance, looking forward to a solution.

Kind Regards
Darren
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 734
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #4 on: February 22, 2022, 10:37:09 AM »

Hi Darren,

One thing to check is that it looks like you may have the FT812 selected and only devices from BT81x onwards have the Flash feature. Therefore please ensure to select BT815/6/7/8 to use Flash.

Also, ensure that your flash file is in the same directory as the exe (looks like you have this in your screenshot already) and you can then just type WindowLayout__Flash.bin when it asks for the flash file.

If you see issues where it still gives an error, copy the following dll file and paste into the same directory as your exe and your flash bin file (assuming default installation). Then re-run your exe and it should accept your flash name when you type it in.
Public\Documents\EVE Screen Designer\Libraries\FT_Eve_Hal\Bin\Simulation\mx25lemu.dll

Hope it helps,

Best Regards, BRT Community
Logged

Darren

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #5 on: February 22, 2022, 10:54:16 AM »

Hello,

Apologies my original picture was using an included demo hence the FT812, my project uses BT816 ...\Build\VM816CU50A\Emulator_x64_Release\Bin

Including the additonal dll as found at C:\Users\Public\Documents\EVE Screen Designer\Libraries\FT_Eve_Hal\Bin\Simulation\x64 has allowed use of the produced flash package and resolved my original issue.
Would this be something best included automatically when compiling an emulator executable when a Flash package is present?

Additonally does the currently produced emulator executable accept command line arguments to allow passing the Flash package name and if so please would it be possible to share the syntax required?

Many thanks for your assitance.
Darren
Logged

Darren

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #6 on: March 16, 2022, 08:41:47 AM »

Hello Community,

Does the currently produced emulator executable accept command line arguments to allow passing the Flash package name and if so please would it be possible to share the syntax required?


Kind Regards
Darren
Logged

Kaetemi

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #7 on: April 07, 2022, 04:51:52 AM »

The error
Code: [Select]
Failed to load flash library means that mx25lemu.dll is missing.
Logged

Kaetemi

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: ESD (4.14.0) - Emulator Executable (Flash files)
« Reply #8 on: April 07, 2022, 05:01:54 AM »

Does the currently produced emulator executable accept command line arguments to allow passing the Flash package name and if so please would it be possible to share the syntax required?

The emulator executable is simply your own application, with your main function.

You can handle arguments as any normal C program, and replace the interactive initialization with a programmatic initialization.
Logged