Main Site Documentation

Porting NETMF 4.4 to an STM32F4


#142

are you tried to deploy with .NET Micro Framework Deployment Tool 4.3 ??? (on .NET Micro 4.4)

try to download

https://github.com/NETMF/netmf-interpreter/releases ( MicroFrameworkSDK.MSI) for 4.4


#143

If BOOT0 and BOOT1 are tied low then my guess is your firmware isn’t right.

Is your xtal setting correct in platform?

Does anything show in device manager?


#144

@Justin I don’t see anything in Device Manager under ports except for COM1 which is always there I think.

Boot1 and Boot0 are tied low. Crystal setting in the platform is set to 12 MHz. The data sheet says max clock cycle is 84 MHz so I put that for the first line.

// System clock
#define SYSTEM_CLOCK_HZ 84000000 // 84 MHz
#define SYSTEM_CYCLE_CLOCK_HZ 84000000 // 84 MHz
#define SYSTEM_APB1_CLOCK_HZ 42000000 // 42 MHz
#define SYSTEM_APB2_CLOCK_HZ 84000000 // 84 MHz
#define SYSTEM_CRYSTAL_CLOCK_HZ 12000000 // 12 MHz external clock
#define CLOCK_COMMON_FACTOR 1000000 // GCD(SYSTEM_CLOCK_HZ, 1M)
#define SLOW_CLOCKS_PER_SECOND 1000000 // 1 MHz
#define SLOW_CLOCKS_TEN_MHZ_GCD 1000000 // GCD(SLOW_CLOCKS_PER_SECOND, 10M)
#define SLOW_CLOCKS_MILLISECOND_GCD 1000 // GCD(SLOW_CLOCKS_PER_SECOND, 1k)
#define SUPPLY_VOLTAGE_MV 3300 // 3.3V supply

@valon_hoti_gmail_com I am using the .netmf 4.4 SDK . MFDeploy says it is version 2.0 (not sure which framework it is), I just downloaded it from Microsoft a few minutes ago.


#145

@Justin @valon_hoti_gmail_com Do I need a specific MFDeploy for NETMF 4.4?


#146

No, 4.3 or 4.4 will work.
Is com1 still on device manager of your board is not plugged in?
You need to try these things instead of making assumptions.


#147

Yes COM1 is still there even after unplugging which is why I don’t think that’s it.

Maybe my MFDeploy is not version 4.3 or 4.4? If it says Version 2.0 in the “About” section, should I find a different one?


#148

Dunno, having breakie so not at pc.
You don’t need to download it, use the one in the netmf 4.4 tools folder.


#149

ya that was the wrong MFDeploy version. I did not know it came with the SDK. Trying with 4.3.1 MFDeploy now. Cross your fingies and toesies.


#150

@Justin Damn it still isn’t showing up in MFDeploy 4.3.1


#151

Send me your pcb and firmware files.


#152

What do you mean by PCB files? Like the Altium layout?

Emailed you the link to the compiled and raw FW files. I can send you the layout/schematic if you want.


#153

Yes, send Altium as well.


#154

Ok sent it


#155


#156

Definitely no device showing up:

image

Let me check re-install the SDK and see if that changes anything.


#157

Will having 4.3 SDK installed with 4.4 SDK cause problems?


#158

it should appear something
even if you have not installed sdk (or it will start search for drivers or it will be recognised from WinUSB from MS)


#159

PC fundamentals 101. If you disconnect the device, then connect it, and NOTHING changes in Device Manager, your hardware is at fault for sure…


#160

Well I was able to connect in DFUSE and load the the FW so the hardware is powered and connected, it is most likely a FW error I was pretty clueless making it.


#161

yep for you it’ll likely be the disjoint between required firmware settings and your hardware