Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload using massStorageCopy #6

Closed
fpistm opened this issue Jun 14, 2017 · 5 comments
Closed

Unable to upload using massStorageCopy #6

fpistm opened this issue Jun 14, 2017 · 5 comments
Labels
enhancement New feature or request

Comments

@fpistm
Copy link
Member

fpistm commented Jun 14, 2017

From @RickKimball on June 10, 2017 16:22

I'm creating a new variant for the NUCLEO-F030R8. When using the massStoraryCopy build, platform.txt uses the {node} parameter of the board to decide where to copy the bin file at upload time. This fails for me when I follow the scheme used by all the other board.txt entries.

On my 64 bit linux 16.04, my NUCLEO-F030R8 board shows up with the name mass storage name of "NUCLEO" instead of "NODE_F030R8".

I tried running Win7 in a VM and it also shows up as "NUCLEO" there.

Is there an expected driver or udev entry I'm supposed to be using? Or should the my board entry look like this:

Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node=NUCLEO

BTW: that works properly

Copied from original issue: stm32duino/Arduino_Core_STM32#23

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

Yes you have to set it with NUCLEO as displayed by the host os. For other board this is also the name diplayed by host os.

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

As I have mentioned in other thread.
The mount point of my F030R8 is:
/dev/sdc on /media/<login>/NODE_F030R8 type vfat (rw,nosuid,nodev,uid=xxxxxx,gid=xxxxxx,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

Depending of the board revision, mount point name could be different.
See this thread
Ex for: STM32F030R8 with a rev 1 node name is : "NUCLEO" while it is "NODE_F030R8" for rev c

MassStorageCopy should be updated to manage several node names.
ex in boards.txt we could have:
Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"

@fpistm fpistm added enhancement New feature or request and removed question labels Jun 14, 2017
fpistm added a commit that referenced this issue Jun 16, 2017
Depending of the board revision, mount point name could be different.
Ex for: STM32F030R8 with a rev 1 node name is : "NUCLEO"
while it is "NODE_F030R8" for rev c

Ex: in boards.txt we could have:
Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"

Fix #6

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm added a commit that referenced this issue Jun 16, 2017
Depending of the board revision, mount point name could be different.
Ex for: STM32F030R8 with a rev 1 node name is : "NUCLEO"
while it is "NODE_F030R8" for rev c

Ex: in boards.txt we could have:
Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"

Fix #6

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm added a commit that referenced this issue Jun 16, 2017
Depending of the board revision, mount point name could be different.
Ex for: STM32F030R8 with a rev 1 node name is : "NUCLEO"
while it is "NODE_F030R8" for rev c

Ex: in boards.txt we could have:
Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"

Fix #6

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm added a commit that referenced this issue Jun 16, 2017
Depending of the board revision, mount point name could be different.
Ex for: STM32F030R8 with a rev 1 node name is : "NUCLEO"
while it is "NODE_F030R8" for rev c

Ex: in boards.txt we could have:
Nucleo_64.menu.Nucleo_64_board.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"

Fix #6

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm
Copy link
Member Author

fpistm commented Jun 16, 2017

Still MacOsx to build.

@ghost
Copy link

ghost commented Jun 19, 2017

I can build it for MacOSX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant